All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.loki3.cyber.server.Server

java.lang.Object
    |
    +----java.lang.Thread
            |
            +----com.loki3.cyber.server.Server

public class Server
extends java.lang.Thread
implements com.loki3.importer.CreationListener, ObjectiveListener
Entry point for system which tracks all units and objects in CyberClash and their states.


Constructor Index

 o Server(Graphics, ViewTransform)
 

Method Index

 o abort()
abort this game
 o getPause()
is the game paused?
 o isScenarioSet()
 
 o newObjective(Objective)
 
 o objectCreated(Object)
 
 o objectiveMet(Objective)
 
 o run()
 
 o setPause(boolean)
pause or unpause the game
 o setScenario(Scenario)
set the scenario to use

Constructor Detail

 o Server
public Server(java.awt.Graphics graf,
              com.loki3.pa.ViewTransform view)

Method Detail

 o setScenario
public void setScenario(Scenario scenario)
          set the scenario to use
 o isScenarioSet
public boolean isScenarioSet()
 o run
public void run()
Overrides:
run in class java.lang.Thread
 o abort
public void abort()
          abort this game
 o setPause
public void setPause(boolean p)
          pause or unpause the game
 o getPause
public boolean getPause()
          is the game paused?
 o newObjective
public void newObjective(Objective objective)
 o objectiveMet
public void objectiveMet(Objective objective)
 o objectCreated
public void objectCreated(java.lang.Object object)

All Packages  Class Hierarchy  This Package  Previous  Next  Index