Made it easier to check for golden and rap notes

This commit is contained in:
Gary Kertopermono committed 2020-04-05 18:03:27 +02:00
1 parent 8d7116706d
commit 821a85ab17
4 files changed
+35 -5

No files matched your search

+9
View File
@@ -15,6 +15,8 @@
// along with Vocaluxe. If not, see <http://www.gnu.org/licenses/>.
#endregion
using System.Linq;
namespace VocaluxeLib.Songs
{
/// <summary>
@@ -37,6 +39,13 @@ namespace VocaluxeLib.Songs
}
#endregion Constructors
#region Methods
public override bool IsNoteType(params ENoteType[] noteTypes)
{
return noteTypes.Contains(Type);
}
#endregion Method
#region Properties
public ENoteType Type { get; set; }