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

+6
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>
@@ -74,6 +76,10 @@ namespace VocaluxeLib.Songs
Perfect = result;
}
public override bool IsNoteType(params ENoteType[] noteTypes)
{
return HitNote != null && noteTypes.Contains(HitNote.Type);
}
#endregion Methods
public override int PointsForBeat