|
|
@ -233,8 +233,11 @@ class _SpaceshipWallShape extends ChainShape {
|
|
|
|
|
|
|
|
|
|
|
|
/// {@template spaceship_wall}
|
|
|
|
/// {@template spaceship_wall}
|
|
|
|
/// A [BodyComponent] that provides the collision for the wall
|
|
|
|
/// A [BodyComponent] that provides the collision for the wall
|
|
|
|
/// surrounding the spaceship, with a small opening to allow the
|
|
|
|
/// surrounding the spaceship.
|
|
|
|
/// [Ball] to get inside the spaceship saucer.
|
|
|
|
///
|
|
|
|
|
|
|
|
/// It has a small opening to allow the [Ball] to get inside the spaceship
|
|
|
|
|
|
|
|
/// saucer.
|
|
|
|
|
|
|
|
///
|
|
|
|
/// It also contains the [SpriteComponent] for the lower wall
|
|
|
|
/// It also contains the [SpriteComponent] for the lower wall
|
|
|
|
/// {@endtemplate}
|
|
|
|
/// {@endtemplate}
|
|
|
|
class SpaceshipWall extends BodyComponent with InitialPosition, Layered {
|
|
|
|
class SpaceshipWall extends BodyComponent with InitialPosition, Layered {
|
|
|
|