Reimplement cur
anchor.
This commit is contained in:
@@ -27,27 +27,14 @@ namespace Cryville.Crtr {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public class PlaySound : StampedEvent {
|
||||
public new Chart.Sound Unstamped;
|
||||
|
||||
public class Anchor : StampedEvent {
|
||||
public int Name;
|
||||
public override int Priority {
|
||||
get { return 0; }
|
||||
}
|
||||
}
|
||||
|
||||
public class Judge : StampedEvent {
|
||||
public float NoteTime;
|
||||
public JudgeDefinition TargetJudge;
|
||||
public Judge StartEvent;
|
||||
public bool IsEndJudge;
|
||||
public override int Priority {
|
||||
get { return StartEvent == null ? 4 : 6; }
|
||||
}
|
||||
protected override int CompareExtra(StampedEvent other) {
|
||||
return Equals(StartEvent, other) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
||||
public StampedEvent AttackEvent {
|
||||
get {
|
||||
if (attev == null) attev = Subevents.FirstOrDefault(ev => ev.Time == this.Time);
|
||||
|
Reference in New Issue
Block a user