Files

39 lines
842 B
C#
Raw Permalink Normal View History

2023-07-30 00:22:03 -07:00
using System.Collections.Generic;
namespace WacK.Data.Chart
{
public enum NotePlayType
{
Touch,
HoldStart,
HoldMid,
2023-10-09 14:28:08 -07:00
HoldMidInvis,
2023-07-30 00:22:03 -07:00
HoldEnd,
2023-09-29 17:48:09 -07:00
Chain,
SnapIn,
SnapOut,
2023-07-30 00:22:03 -07:00
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;
}
}
}