Package org.collebol.game
Class GameManager
java.lang.Object
org.collebol.game.GameManager
- All Implemented Interfaces:
Runnable
Abstract class representing the game manager in the EJGEngine.
This class is the core of the game side is responsible for managing the game loop and updating the game state and objects.
Usage:
GameManager gameManager = new MyGameManager();
gameManager.startGameThread(); //this will start the game
- Since:
- 1.0-dev
- Author:
- ColleBol - contact@collebol.org
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetTicks()voidrun()voidsetGameRegister(GameRegister gameRegister) voidsetTicks(int ticks) voidabstract voidupdate()
-
Constructor Details
-
GameManager
public GameManager()
-
-
Method Details