java.lang.Object
org.zazof.jtegServer.GameController
- All Implemented Interfaces:
- java.lang.Runnable
- public class GameController
- extends java.lang.Object
- implements java.lang.Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.log4j.Category log
$world
private World $world
$connectionController
private ConnectionController $connectionController
$queue
private MessageQueue $queue
$factory
private ProtocolFactory $factory
$protocols
private java.util.Hashtable $protocols
$thread
private java.lang.Thread $thread
$players
private PlayerContainer $players
$observers
private PlayerContainer $observers
GameController
public GameController(int port)
throws java.lang.Exception
main
public static void main(java.lang.String[] args)
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
getPlayerContainer
public PlayerContainer getPlayerContainer()
getObserverContainer
public PlayerContainer getObserverContainer()
getWorld
public World getWorld()