edu.cuny.cat
Class GameServer
java.lang.Object
edu.cuny.cat.GameServer
- All Implemented Interfaces:
- edu.cuny.config.param.Parameterizable
- Direct Known Subclasses:
- GameServerWithTraders
public class GameServer
- extends java.lang.Object
- implements edu.cuny.config.param.Parameterizable
Main class of jcat game server, used when the server is launched separatedly
from the game clients; otherwise the Game
class should be used.
- Version:
- $Revision: 1.13 $
- Author:
- Jinzhong Niu
Method Summary |
GameController |
getController()
|
static void |
main(java.lang.String[] args)
for starting server alone, separating from clients |
void |
setup(edu.cuny.config.param.ParameterDatabase parameters,
edu.cuny.config.param.Parameter base)
|
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
protected GameController controller
GameServer
public GameServer()
setup
public void setup(edu.cuny.config.param.ParameterDatabase parameters,
edu.cuny.config.param.Parameter base)
- Specified by:
setup
in interface edu.cuny.config.param.Parameterizable
start
public void start()
getController
public GameController getController()
main
public static void main(java.lang.String[] args)
- for starting server alone, separating from clients
- Parameters:
args
-