mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 14:03:22 +08:00
Invert getters and setters for EndTime / Duration.
This commit is contained in:
parent
d2194e3d2a
commit
d478a58a89
@ -10,9 +10,9 @@ namespace osu.Game.Modes.Taiko.Objects
|
|||||||
{
|
{
|
||||||
public class Bash : TaikoHitObject, IHasEndTime
|
public class Bash : TaikoHitObject, IHasEndTime
|
||||||
{
|
{
|
||||||
public double EndTime => StartTime + Duration;
|
public double EndTime { get; set; }
|
||||||
|
|
||||||
public double Duration { get; set; }
|
public double Duration => EndTime - StartTime;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The number of hits required to complete the bash successfully.
|
/// The number of hits required to complete the bash successfully.
|
||||||
|
Loading…
Reference in New Issue
Block a user