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:
Dean Herbert
2016-10-19 19:44:03 +09:00
parent e78e0d37b4
commit 43f0409893
19 changed files with 303 additions and 92 deletions

View File

@ -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;