Package playground

Class LevelWithBox


public class LevelWithBox extends SpaceInvadersLevel
extends SpaceInvadersLevel with a red Rectangle with no function.
  • Constructor Details

    • LevelWithBox

      public LevelWithBox()
  • Method Details

    • prepareLevel

      public void prepareLevel(String id)
      calls prepareLevel from SpaceInvadersLevel and adds a red Rectangle with no function.
      Overrides:
      prepareLevel in class SpaceInvadersLevel
      Parameters:
      id - String identifies Level