Pull up clip from judge definition. Add clip to event container.

This commit is contained in:
2023-01-31 14:55:41 +08:00
parent 8932d1b8d0
commit 5514b6cf37
6 changed files with 46 additions and 18 deletions

View File

@@ -184,6 +184,13 @@ namespace Cryville.Crtr {
public abstract class EventContainer : ChartEvent {
public List<Chart.Motion> motions = new List<Chart.Motion>();
[JsonIgnore]
public Clip Clip { get; private set; }
public EventContainer() {
SubmitPropOp("clip", new PropOp.Clip(v => Clip = v));
}
[JsonIgnore]
public virtual IEnumerable<ChartEvent> Events {
get {