mirror of https://github.com/ppy/osu
Move {-> Default}KiaiHitExplosion
This commit is contained in:
parent
ef1036cef1
commit
f245696947
|
@ -13,14 +13,14 @@
|
|||
|
||||
namespace osu.Game.Rulesets.Taiko.UI
|
||||
{
|
||||
public class KiaiHitExplosion : CircularContainer
|
||||
public class DefaultKiaiHitExplosion : CircularContainer
|
||||
{
|
||||
public override bool RemoveWhenNotAlive => true;
|
||||
|
||||
public readonly DrawableHitObject JudgedObject;
|
||||
private readonly HitType type;
|
||||
|
||||
public KiaiHitExplosion(DrawableHitObject judgedObject, HitType type)
|
||||
public DefaultKiaiHitExplosion(DrawableHitObject judgedObject, HitType type)
|
||||
{
|
||||
JudgedObject = judgedObject;
|
||||
this.type = type;
|
|
@ -30,7 +30,7 @@ public class TaikoPlayfield : ScrollingPlayfield
|
|||
public const float DEFAULT_HEIGHT = 178;
|
||||
|
||||
private Container<HitExplosion> hitExplosionContainer;
|
||||
private Container<KiaiHitExplosion> kiaiExplosionContainer;
|
||||
private Container<DefaultKiaiHitExplosion> kiaiExplosionContainer;
|
||||
private JudgementContainer<DrawableTaikoJudgement> judgementContainer;
|
||||
private ScrollingHitObjectContainer drumRollHitContainer;
|
||||
internal Drawable HitTarget;
|
||||
|
@ -97,7 +97,7 @@ private void load(OsuColour colours)
|
|||
drumRollHitContainer = new DrumRollHitContainer()
|
||||
}
|
||||
},
|
||||
kiaiExplosionContainer = new Container<KiaiHitExplosion>
|
||||
kiaiExplosionContainer = new Container<DefaultKiaiHitExplosion>
|
||||
{
|
||||
Name = "Kiai hit explosions",
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
@ -219,7 +219,7 @@ private void addExplosion(DrawableHitObject drawableObject, HitResult result, Hi
|
|||
{
|
||||
hitExplosionContainer.Add(new HitExplosion(drawableObject, result));
|
||||
if (drawableObject.HitObject.Kiai)
|
||||
kiaiExplosionContainer.Add(new KiaiHitExplosion(drawableObject, type));
|
||||
kiaiExplosionContainer.Add(new DefaultKiaiHitExplosion(drawableObject, type));
|
||||
}
|
||||
|
||||
private class ProxyContainer : LifetimeManagementContainer
|
||||
|
|
Loading…
Reference in New Issue