mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Start to structure flow of information in Player.
- Allow basic clicking of hitobjects. - Break non-osu! game modes temporarily. - Fix some issues with RollingCounters. - Add the ability to increment counters.
This commit is contained in:
@ -13,9 +13,9 @@ namespace osu.Game.Beatmaps.Objects
|
||||
public abstract class HitObject
|
||||
{
|
||||
public double StartTime;
|
||||
public double? EndTime;
|
||||
public virtual double EndTime => StartTime;
|
||||
|
||||
public double Duration => (EndTime ?? StartTime) - StartTime;
|
||||
public double Duration => EndTime - StartTime;
|
||||
|
||||
public HitSampleInfo Sample;
|
||||
|
||||
|
Reference in New Issue
Block a user