Package playground

Class SpaceInvadersLevelAua

Direct Known Subclasses:
Level5, Level6, Level7

public class SpaceInvadersLevelAua extends SpaceInvadersLevel
Class that realizes all the game logic of a very simple game level. The level contains for now only two objects that are GameObject subclasses: FallingStar and EgoObject. Functions performed by this class are:
  • initially set up the level, spawn all object etc., in method SpaceInvadersLevel.prepareLevel(java.lang.String)
  • React to game events in SpaceInvadersLevel.actionIfEgoCollidesWithCollect(GameObject, GameObject) , SpaceInvadersLevel.actionIfEgoCollidesWithEnemy(GameObject, GameObject), etc.
  • define basic object movement rules for all objects in the level in the various ObjectController subclasses: EgoController and FallingStarController.
  • Constructor Details

    • SpaceInvadersLevelAua

      public SpaceInvadersLevelAua()