edu.cuny.cat
Class GameServer

java.lang.Object
  extended by 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

Field Summary
protected  GameController controller
           
 
Constructor Summary
GameServer()
           
 
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
 

Field Detail

controller

protected GameController controller
Constructor Detail

GameServer

public GameServer()
Method Detail

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 -