Standardise some naming and make hitcircles feel better.

This commit is contained in:
Dean Herbert
2016-11-19 19:07:57 +09:00
parent d359057db6
commit 3ac89216bd
18 changed files with 112 additions and 62 deletions

View File

@ -11,6 +11,7 @@ using osu.Game.Modes.Objects;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Osu.Objects.Drawables;
using osu.Framework.Graphics.Containers;
namespace osu.Desktop.VisualTests.Tests
{
@ -34,6 +35,10 @@ namespace osu.Desktop.VisualTests.Tests
ourClock.ProcessFrame();
Container approachContainer = new Container { Depth = float.MaxValue, };
Add(approachContainer);
const int count = 10;
for (int i = 0; i < count; i++)
@ -44,13 +49,16 @@ namespace osu.Desktop.VisualTests.Tests
Position = new Vector2((i - count / 2) * 14),
};
Add(new DrawableHitCircle(h)
DrawableHitCircle d = new DrawableHitCircle(h)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Depth = -i,
State = ArmedState.Armed,
});
};
approachContainer.Add(d.ApproachCircle.CreateProxy());
Add(d);
}
}