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
+38
View File
@@ -0,0 +1,38 @@
using System.Collections.Generic;
namespace WacK.Data.Chart
{
public enum NotePlayType
{
Touch,
HoldStart,
HoldMid,
HoldEnd,
Untimed,
SwipeIn,
SwipeOut,
SwipeCW,
SwipeCCW,
}
/// <summary>
/// Represents playable notes.
/// </summary>
public class NotePlay : Note
{
public NotePlayType type { get; private set; }
public bool isBonus { get; private set; }
public int holdIdx { get; private set; }
public int holdNextIdx { get; private set; }
public NotePlay(double time, MeasureBeat measureBeat, int position, int size, int holdIndex = -1, int holdNext = -1,
NotePlayType type = NotePlayType.Touch, bool bonus = false)
: base(time, measureBeat, position, size)
{
this.type = type;
this.isBonus = bonus;
this.holdIdx = holdIndex;
this.holdNextIdx = holdNext;
}
}
}