Make EndTime and RepeatCount settable

This commit is contained in:
Dean Herbert
2020-02-05 17:12:26 +09:00
parent dffc58c5fa
commit cd6902a312
9 changed files with 43 additions and 10 deletions

View File

@ -36,7 +36,11 @@ namespace osu.Game.Rulesets.Catch.Objects
}
}
public double EndTime => StartTime + Duration;
public double EndTime
{
get => StartTime + Duration;
set => Duration = value - StartTime;
}
public double Duration { get; set; }
}