fix: changes from merge

pull/174/head
Allison Ryan 3 years ago
parent b204ab9ce9
commit b6b67c4c28

@ -35,7 +35,7 @@ class Ball<T extends Forge2DGame> extends BodyComponent<T>
static const int spaceshipRailPriority = 2;
/// Render priority for the [Ball] while it's on the [LaunchRamp].
static const int launchRampPriority = 0;
static const int launchRampPriority = -2;
/// The size of the [Ball].
static final Vector2 size = Vector2.all(4.13);

@ -88,7 +88,7 @@ class _BottomBoundarySpriteComponent extends SpriteComponent with HasGameRef {
/// {@endtemplate outer_boundary}
class _OuterBoundary extends BodyComponent with InitialPosition {
/// {@macro outer_boundary}
_OuterBoundary() : super(priority: LaunchRamp.ballPriorityInsideRamp - 1);
_OuterBoundary() : super(priority: Ball.launchRampPriority - 1);
List<FixtureDef> _createFixtureDefs() {
final fixturesDefs = <FixtureDef>[];

Loading…
Cancel
Save