2 Commits

  1. BIN
      spaceinvaders/GameProject/bin/playground/LevelWithBox.class
  2. 5
      spaceinvaders/GameProject/src/playground/LevelWithBox.java

BIN
spaceinvaders/GameProject/bin/playground/LevelWithBox.class

5
spaceinvaders/GameProject/src/playground/LevelWithBox.java

@ -4,7 +4,7 @@ import java.awt.Color;
import gameobjects.RectObject; import gameobjects.RectObject;
/**
/**
* extends {@link SpaceInvadersLevel} with a red box. * extends {@link SpaceInvadersLevel} with a red box.
* *
*/ */
@ -22,7 +22,8 @@ public class LevelWithBox extends SpaceInvadersLevel {
return "Box-Level!"; return "Box-Level!";
} }
/**
/**
* created by janosch
* Method creates a new Object {@link gameobjects.RectObject} named RedBox. * Method creates a new Object {@link gameobjects.RectObject} named RedBox.
* calls method of {@link prepareLevel}. * calls method of {@link prepareLevel}.
* Object added to the level. * Object added to the level.

Loading…
Cancel
Save