Made it easier to check for golden and rap notes
This commit is contained in:
1 parent
8d7116706d
commit
821a85ab17
4 files changed
+35
-5
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user