1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

DrawableCircle -> DrawableHitCircle.

This commit is contained in:
Dean Herbert 2016-11-16 16:20:58 +09:00
parent da1f6eeab5
commit fba748b24e
3 changed files with 5 additions and 6 deletions

View File

@ -44,7 +44,7 @@ namespace osu.Desktop.VisualTests.Tests
Position = new Vector2((i - count / 2) * 14),
};
Add(new DrawableCircle(h)
Add(new DrawableHitCircle(h)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,

View File

@ -11,13 +11,12 @@ using osu.Framework.Graphics.Textures;
using osu.Framework.Graphics.Transformations;
using osu.Framework.Input;
using osu.Framework.MathUtils;
using osu.Game.Modes.Objects;
using osu.Game.Modes.Objects.Drawables;
using OpenTK;
namespace osu.Game.Modes.Osu.Objects.Drawables
{
public class DrawableCircle : DrawableHitObject
public class DrawableHitCircle : DrawableHitObject
{
private Sprite approachCircle;
private CircleLayer circle;
@ -28,7 +27,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
private GlowLayer glow;
private OsuBaseHit h;
public DrawableCircle(HitCircle h) : base(h)
public DrawableHitCircle(HitCircle h) : base(h)
{
this.h = h;

View File

@ -4,8 +4,8 @@
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.Game.Modes.UI;
using DrawableCircle = osu.Game.Modes.Osu.Objects.Drawables.DrawableCircle;
using OsuBaseHit = osu.Game.Modes.Osu.Objects.OsuBaseHit;
using OsuConverter = osu.Game.Modes.Osu.Objects.OsuConverter;
@ -18,6 +18,6 @@ namespace osu.Game.Modes.Osu.UI
protected override Playfield CreatePlayfield() => new OsuPlayfield();
protected override DrawableHitObject GetVisualRepresentation(OsuBaseHit h)
=> h is HitCircle ? new DrawableCircle(h as HitCircle) : null;
=> h is HitCircle ? new DrawableHitCircle(h as HitCircle) : null;
}
}