|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jogre.common.util.AbstractProperties
org.jogre.common.util.GameProperties
This class provides an easy and effective point for accessing to each game resource bundle (game.properties).
Field Summary |
Fields inherited from class org.jogre.common.util.AbstractProperties |
rb |
Fields inherited from interface org.jogre.common.IJogre |
DEFAULT_MAX_NUM_OF_PLAYERS, DEFAULT_MAX_NUM_OF_TABLES, DEFAULT_MAX_NUM_OF_USERS, DEFAULT_MIN_NUM_OF_PLAYERS, DEFAULT_PORT, DEFAULT_REQ_NUM_OF_PLAYERS, MASTER_SERVE_KEY, VERSION |
Method Summary | |
static String |
getGameID()
Return the game ID. |
static GameProperties |
getInstance()
Accessor to singleton instance of this class. |
static int |
getMaxNumOfPlayers()
Return the minimum number of players in a game. |
static int |
getMinNumOfPlayers()
Return the minimum number of players in a game. |
static Color |
getPlayerColour(int playerNum)
Return the color of a player (each player has a specific colour which is used throughout the API). |
Methods inherited from class org.jogre.common.util.AbstractProperties |
get, get, getBoolean, getBoolean, getInt, getInt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static GameProperties getInstance()
public static int getMinNumOfPlayers()
public static int getMaxNumOfPlayers()
public static String getGameID()
public static Color getPlayerColour(int playerNum)
playerNum
- Supplied player number
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |