net.javamud.data
Class Globals

java.lang.Object
  |
  +--net.javamud.data.Globals

public class Globals
extends Object

Holds global information for the MUD

Author:
Timothy Hinchcliffe
Created On:
10 May 2002

Field Summary
 ClassMapper classMap
          ClassMapper to use.
static Globals globals
          Singleton object.
 Linker linker
          Linker object - contains MudObject Registry and aids linking.
protected  long sysNextObjectId
          Id for next system created MudObject
 long ticks
          Game ticks.
 
Constructor Summary
Globals()
           
 
Method Summary
 long getSysNextObjectId()
          Gets the sysNextObjectId attribute of the Globals object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classMap

public ClassMapper classMap
ClassMapper to use.


globals

public static Globals globals
Singleton object. Used by many parts of the MUD to retrieve the global settings.


linker

public Linker linker
Linker object - contains MudObject Registry and aids linking.


ticks

public long ticks
Game ticks. Count of iterations of main loop.


sysNextObjectId

protected long sysNextObjectId
Id for next system created MudObject

Constructor Detail

Globals

public Globals()
Method Detail

getSysNextObjectId

public long getSysNextObjectId()
Gets the sysNextObjectId attribute of the Globals object

Returns:
The sysNextObjectId value