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

@ -86,7 +86,14 @@ namespace osu.Game.Graphics.UserInterface
}
}
protected float textSize = 20.0f;
public void Set(T value)
{
Count = value;
}
public abstract void Increment(T amount);
protected float textSize;
public float TextSize
{
@ -107,6 +114,8 @@ namespace osu.Game.Graphics.UserInterface
{
DisplayedCountSpriteText = new SpriteText(),
};
TextSize = 40;
}
public override void Load(BaseGame game)