Package bagel
Class AbstractGame
java.lang.Object
bagel.AbstractGame
The base class for all Bagel games.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate the game with a default window size (1024x768) and title ("Game").AbstractGame(int width, int height) Create the game with a default title ("Game").AbstractGame(int width, int height, String title) Create the game. -
Method Summary
-
Constructor Details
-
AbstractGame
public AbstractGame()Create the game with a default window size (1024x768) and title ("Game"). -
AbstractGame
public AbstractGame(int width, int height) Create the game with a default title ("Game"). -
AbstractGame
Create the game.
-
-
Method Details
-
run
public final void run()Start the game loop.
-