Package base
Class BreakoutGame
java.lang.Object
base.GameLoop
base.BreakoutGame
main class to start a game with only one level.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adds only one level to play (playground.LevelBreakout1
).static void
starts this game.
-
Constructor Details
-
BreakoutGame
public BreakoutGame()
-
-
Method Details
-
defineLevels
public void defineLevels()adds only one level to play (playground.LevelBreakout1
). -
main
starts this game.- Parameters:
args
- command line parameters (forwarded toGameLoop.runGame(String[])
).- Throws:
IOException
- if highscore.txt file cannot be written or accessed, the exception is thrown (and game ends).
-