Package playground
Class LevelWithBox
java.lang.Object
playground.Playground
playground.SpaceInvadersLevel
playground.LevelWithBox
extends
SpaceInvadersLevel
with a red Rectangle with no function.-
Field Summary
Fields inherited from class playground.SpaceInvadersLevel
EGOSPEED, SHOTSPEED
Fields inherited from class playground.Playground
FLAGS_ALL, FLAGS_GLOBAL, FLAGS_LEVEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
prepareLevel
(String id) calls prepareLevel from SpaceInvadersLevel and adds a red Rectangle with no function.Methods inherited from class playground.SpaceInvadersLevel
applyGameLogic, gameOver, levelFinished, preferredSizeX, preferredSizeY, redrawLevel
Methods inherited from class playground.Playground
addObject, addObjectNow, collectObjects, deleteObject, deleteObjectNow, getGameTime, getGlobalFlag, getKeyEvents, getLevelFlag, getMouseEvents, getObject, getOrCreateGlobalFlag, getOrCreateLevelFlag, getSizeX, getSizeY, getTimestep, isPaused, processKeyEvents, processMouseEvents, redraw, reset, resetFlags, setGameTime, setGlobalFlag, setLevelFlag, setPaused, setTimestep, togglePause, updateObjects
-
Constructor Details
-
LevelWithBox
public LevelWithBox()
-
-
Method Details
-
prepareLevel
calls prepareLevel from SpaceInvadersLevel and adds a red Rectangle with no function.- Overrides:
prepareLevel
in classSpaceInvadersLevel
- Parameters:
id
- String identifies Level
-