Initial commit

This commit is contained in:
muskit
2023-07-30 00:22:03 -07:00
commit 8e6966bfcd
39 changed files with 1417 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
namespace WacK.Data.Chart
{
public enum NoteEventType
{
Tempo,
TimeSignature,
ScrollSpeedMultiplier,
BGAdd,
BGRem,
}
/// <summary>
/// Represents an unplayable event with some associated data value.
/// </summary>
/// <typeparam name="T">The value's type.</typeparam>
public class NoteEvent<T> : Note
{
public NoteEventType type;
/// <summary>
/// A value whose function will vary depending on the type of note.
/// </summary>
public T value;
public NoteEvent(double time, MeasureBeat measureBeat, NoteEventType type, int? position = null, int? size = null, T value = default(T)) :
base(time, measureBeat, position, size)
{
this.value = value;
this.type = type;
}
}
}