refactor: renamed egg to extra

pull/105/head
alestiago 4 years ago
parent 89bebf4c78
commit 0a54cf62de

@ -15,8 +15,10 @@ enum BallType {
/// the [BottomWall]. /// the [BottomWall].
normal, normal,
/// A [Ball] was spawned by Dash in the [FlutterForest]. /// A [Ball] that does not alter [GameState.balls].
egg, ///
/// For example, a [Ball] spawned by Dash in the [FlutterForest].
extra,
} }
/// {@template ball_blueprint} /// {@template ball_blueprint}

@ -35,7 +35,7 @@ class FlutterForest extends Component
gameRef.addFromBlueprint( gameRef.addFromBlueprint(
BallBlueprint( BallBlueprint(
position: Vector2(17.2, 52.7), position: Vector2(17.2, 52.7),
type: BallType.egg, type: BallType.extra,
), ),
); );
} }

Loading…
Cancel
Save