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