|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.server.core.ReferenceHolder
This class holds references to all important modules of the server. The modules can then get references to the other modules via this class.
Field Summary | |
static PrintWriter |
debug
Debug output |
static PrintWriter |
err
Standard error output |
static BufferedReader |
in
Standard input |
static PrintWriter |
log
Log output |
static PrintWriter |
out
Standard output |
Constructor Summary | |
ReferenceHolder()
|
Method Summary | |
static ActionProcessor |
getActionProcessor()
Gets the ActionProcessor attribute of the ReferenceHolder class |
static AutomatonMap |
getAutomatonMap()
Gets the AutomatonMap attribute of the ReferenceHolder class |
static Clock |
getClock()
Gets the game clock. |
static Server |
getComServer()
Gets the ComServer attribute of the ReferenceHolder class |
static ClassLoader |
getGameClassLoader()
Gets the GameClassLoader attribute of the ReferenceHolder class |
static String |
getGameDescription()
Gets a short description of the game. |
static String |
getGameName()
Gets the name of the game. |
static QManager |
getQManager()
Gets the QManager attribute of the ReferenceHolder class |
static TimeString |
getTimeString()
Gets the time string factory. |
static UnitManager |
getUnitManager()
Gets the UnitManager attribute of the ReferenceHolder class |
static VisibilityFilter |
getVisibilityFilter()
Gets the visibility filter. |
static VisibilityInfo |
getVisibilityInfo()
Gets the visibility info object. |
static void |
setActionProcessor(ActionProcessor _actionProcessor)
Sets the ActionProcessor attribute of the ReferenceHolder class |
static void |
setAutomatonMap(AutomatonMap map)
Sets the AutomatonMap attribute of the ReferenceHolder class |
static void |
setClock(Clock clock)
Sets the clock. |
static void |
setComServer(Server _comServer)
Sets the ComServer attribute of the ReferenceHolder class |
static void |
setGameClassLoader(ClassLoader loader)
Sets the GameClassLoader attribute of the ReferenceHolder class |
static void |
setGameDescription(String desc)
Sets the description of the game. |
static void |
setGameName(String name)
Sets the name of the game. |
static void |
setQManager(QManager _qManager)
Sets the QManager attribute of the ReferenceHolder class |
static void |
setTimeString(TimeString timeString)
Supplies an object that constructs strings representing time. |
static void |
setUnitManager(UnitManager _unitManager)
Sets the UnitManager attribute of the ReferenceHolder class |
static void |
setVisibilityFilter(VisibilityFilter filter)
Sets the visibility filter. |
static void |
setVisibilityInfo(VisibilityInfo info)
Sets the visibility info object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static BufferedReader in
public static PrintWriter out
public static PrintWriter log
public static PrintWriter debug
public static PrintWriter err
Constructor Detail |
public ReferenceHolder()
Method Detail |
public static void setAutomatonMap(AutomatonMap map)
map
- The new AutomatonMap valuepublic static void setActionProcessor(ActionProcessor _actionProcessor)
_actionProcessor
- The new ActionProcessor valuepublic static void setUnitManager(UnitManager _unitManager)
_unitManager
- The new UnitManager valuepublic static void setQManager(QManager _qManager)
_qManager
- The new QManager valuepublic static void setComServer(Server _comServer)
_comServer
- The new ComServer valuepublic static void setVisibilityFilter(VisibilityFilter filter)
filter
- The new visibility filter.public static void setVisibilityInfo(VisibilityInfo info)
filter
- The new visibility info object.public static void setClock(Clock clock)
clock
- The new game clock.public static void setTimeString(TimeString timeString)
timeString
- The new time string factory.public static void setGameName(String name)
name
- The new name.public static void setGameDescription(String desc)
desc
- The new description.public static void setGameClassLoader(ClassLoader loader)
loader
- The new GameClassLoader valuepublic static AutomatonMap getAutomatonMap()
public static ActionProcessor getActionProcessor()
public static UnitManager getUnitManager()
public static QManager getQManager()
public static Server getComServer()
public static VisibilityFilter getVisibilityFilter()
public static VisibilityInfo getVisibilityInfo()
public static ClassLoader getGameClassLoader()
public static Clock getClock()
public static TimeString getTimeString()
public static String getGameName()
public static String getGameDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |