mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 12:02:54 +08:00
Move {-> Default}KiaiHitExplosion
This commit is contained in:
parent
ef1036cef1
commit
f245696947
@ -13,14 +13,14 @@ using osu.Game.Rulesets.Taiko.Objects;
|
||||
|
||||
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 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
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 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
drumRollHitContainer = new DrumRollHitContainer()
|
||||
}
|
||||
},
|
||||
kiaiExplosionContainer = new Container<KiaiHitExplosion>
|
||||
kiaiExplosionContainer = new Container<DefaultKiaiHitExplosion>
|
||||
{
|
||||
Name = "Kiai hit explosions",
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
@ -219,7 +219,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
{
|
||||
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
Block a user