org.jogre.util
Class GameLabels

java.lang.Object
  |
  +--org.jogre.util.AbstractProperties
        |
        +--org.jogre.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.1
Author:
Bob Marks

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 getServerTitle()
          Return the server title.
static String getTableTitle()
          Return the title of this table.
static String getWelcomeMessage()
          Return a welcome message.
 
Methods inherited from class org.jogre.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:
 

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:
 

getServerTitle

public static String getServerTitle()
Return the server title.
Returns:
 

getClientTitle

public static String getClientTitle()
Return the client title.
Returns:
 

getTableTitle

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

getWelcomeMessage

public static String getWelcomeMessage()
Return a welcome message.
Returns: