Browse Source

jannik2.0

master
Jannik Niebuhr 3 years ago
parent
commit
c681846350
  1. 4
      spaceinvaders/GameProject/src/playground/LevelWithBox.java

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

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

Loading…
Cancel
Save