org.jogre.common.util
Class GameLabels

java.lang.Object
  extended byorg.jogre.common.util.AbstractProperties
      extended byorg.jogre.common.util.GameLabels

public class GameLabels
extends AbstractProperties

This class provides an easy and effective point for accessing to each game resource bundle (game_labels_*_*.properties).

Version:
Alpha 0.2.1
Author:
Bob Marks

Field Summary
 
Fields inherited from class org.jogre.common.util.AbstractProperties
rb
 
Method Summary
static String getClientTitle()
          Return the client title.
static GameLabels getInstance()
          Accessor to singleton instance of this class.
static String getPlayerLabel(int playerNum)
          Return the color of a player (each player has a specific colour which is used throughout the API).
static String getTableTitle()
          Return the title of this table.
static String getWelcomeMessage()
          Return a welcome message.
 
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

getInstance

public static GameLabels getInstance()
Accessor to singleton instance of this class.

Returns:
instance of GameLabels

getPlayerLabel

public static String getPlayerLabel(int playerNum)
Return the color of a player (each player has a specific colour which is used throughout the API).

Parameters:
playerNum -
Returns:
PlayerLabel from a player number.

getClientTitle

public static String getClientTitle()
Return the client title.

Returns:
Client title

getTableTitle

public static String getTableTitle()
Return the title of this table.

Returns:
Table title.

getWelcomeMessage

public static String getWelcomeMessage()
Return a welcome message.

Returns:
Welcome message.