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
@@ -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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user