Package playground
Class BreakoutLevel1
java.lang.Object
playground.Playground
playground.BreakoutLevelBase
playground.BreakoutLevel1
-
Field Summary
Fields inherited from class playground.Playground
FLAGS_ALL, FLAGS_GLOBAL, FLAGS_LEVEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
prepareLevel
(String level) added ego object, ball and rows of bricks to the level.Methods inherited from class playground.BreakoutLevelBase
applyGameLogic, gameOver, levelFinished, preferredSizeX, preferredSizeY, redrawLevel, resetRequested
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
-
BreakoutLevel1
public BreakoutLevel1()
-
-
Method Details
-
prepareLevel
added ego object, ball and rows of bricks to the level.- Specified by:
prepareLevel
in classBreakoutLevelBase
- Parameters:
level
- level String to identify the level.
-