feat: add fire animation priority

pull/198/head
Allison Ryan 3 years ago
parent 81ef773339
commit 70022f3032

@ -137,7 +137,7 @@ class _TurboChargeSpriteAnimationComponent extends SpriteAnimationComponent
_TurboChargeSpriteAnimationComponent()
: super(
anchor: const Anchor(0.53, 0.72),
priority: Ball.boardPriority + 1,
priority: RenderPriority.turboChargeFlame,
removeOnFinish: true,
);

@ -83,6 +83,8 @@ abstract class RenderPriority {
static const int sparkyBumper = _above + ballOnBoard;
static const int turboChargeFlame = _above + ballOnBoard;
// Android Spaceship
static const int spaceshipRail = _above + bottomGroup;

Loading…
Cancel
Save