Add tiny droplet support

This commit is contained in:
Dean Herbert
2017-10-11 20:11:29 +09:00
parent 1a88ffe862
commit 0b282a49bd
5 changed files with 61 additions and 13 deletions

View File

@ -28,6 +28,13 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
foreach (CatchBaseHit tick in s.Ticks)
{
TinyDroplet tiny = tick as TinyDroplet;
if (tiny != null)
{
AddNested(new DrawableDroplet(tiny) { Scale = new Vector2(0.5f) });
continue;
}
Droplet droplet = tick as Droplet;
if (droplet != null)
AddNested(new DrawableDroplet(droplet));