Package base
Class MovingObjectsGame
java.lang.Object
base.GameLoop
base.MovingObjectsGame
main class to start a game with only one level
LevelMovingObjects
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adds only one level to play (LevelMovingObjects
).static void
starts this game.
-
Constructor Details
-
MovingObjectsGame
public MovingObjectsGame()
-
-
Method Details
-
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).
-
defineLevels
public void defineLevels()adds only one level to play (LevelMovingObjects
).
-