public interface GameStartListener
Modifier and Type | Method and Description |
---|---|
GameRoom |
getGameRoom() |
void |
setGameRoom(GameRoom gameRoom) |
void |
start(boolean isInitialized,
Properties properties)
The "public static void main" for each game instance( a game instance
would actually take place in a game room).
|
void start(boolean isInitialized, Properties properties)
Game
or GameRoom
,
start up scheduled Task
s and do any other initialization logic
necessary for a particular game.isInitialized
- If this is a persisted instance, then restarts would be called
with isInitialized set to true. TODO current version does not
support persistence and hence this parameter will always be
false.properties
- The environment properties which would be a combination of JVM
flags and properties files would be passed into this method by
the containerGameRoom getGameRoom()
void setGameRoom(GameRoom gameRoom)
gameRoom
- The game room instance to set on the implementation.Copyright © 2013. All Rights Reserved.