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

+14
View File
@@ -82,6 +82,20 @@ namespace VocaluxeLib.Songs
}
public abstract int PointsForBeat { get; }
public bool IsRapNote
{
get { return IsNoteType(ENoteType.Rap, ENoteType.RapGolden); }
}
public bool IsGoldenNote
{
get { return IsNoteType(ENoteType.Golden, ENoteType.RapGolden); }
}
#endregion Properties
#region Methods
public abstract bool IsNoteType(params ENoteType[] noteTypes);
#endregion Methods
}
}