chore: rocket and plunger priorities

pull/198/head
Allison Ryan 3 years ago
parent 408bbb5db2
commit f2f4a88e3d

@ -9,7 +9,7 @@ class RocketSpriteComponent extends SpriteComponent with HasGameRef {
// TODO(ruimiguel): change this priority to be over launcher ramp and bottom
// wall.
/// {@macro rocket_sprite_component}
RocketSpriteComponent() : super(priority: 5);
RocketSpriteComponent() : super(priority: PinballPriority.rocket);
@override
Future<void> onLoad() async {

@ -48,7 +48,7 @@ abstract class PinballPriority {
static const int launchRampForegroundRailing = above + ballOnLaunchRamp;
static const int plunger = launchRamp;
static const int plunger = above + launchRamp;
static const int rocket = above + bottomBoundary;

Loading…
Cancel
Save