|
|
@ -4,7 +4,7 @@ import java.awt.Color; |
|
|
|
import gameobjects.RectObject; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* extends {@link SpaceInvadersLevel} with a red box. |
|
|
|
* |
|
|
|
*/ |
|
|
@ -22,7 +22,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. |
|
|
|