mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Standardise some naming and make hitcircles feel better.
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user