org.gjt.universe
Class SchemeBase

java.lang.Object
  |
  +--org.gjt.universe.SchemeBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Scheme_001

public abstract class SchemeBase
extends java.lang.Object
implements java.io.Serializable

This is the base class for all Scheme objects. Scheme objects should containt scheme specific information, like Order processing information and the like.

See Also:
Serialized Form

Constructor Summary
SchemeBase()
           
 
Method Summary
abstract  void determineSpaceBattles()
          This method is called by GameEngine during turn processing to determine if there any space battles.
abstract  OrderQueueSet getOrderQueueSet()
           
abstract  void initialize()
           
abstract  void initialize(java.lang.String filename)
           
abstract  PlanetID newPlanet(SystemID SID, int starIndex, java.lang.String in_name)
          Factory method for creating this scheme's version of a Planet
abstract  StationID newStation(CivID owner, PlanetID PID)
          Factory method for creating this scheme's version of a Station
abstract  void orderEngineSetup()
           
abstract  VectorDisplayReturn specificDisplayDebug()
           
abstract  OrderQueueSetIndex whichQueueSet(Order order)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemeBase

public SchemeBase()
Method Detail

getOrderQueueSet

public abstract OrderQueueSet getOrderQueueSet()

whichQueueSet

public abstract OrderQueueSetIndex whichQueueSet(Order order)

specificDisplayDebug

public abstract VectorDisplayReturn specificDisplayDebug()

initialize

public abstract void initialize(java.lang.String filename)
                         throws java.io.IOException
java.io.IOException

initialize

public abstract void initialize()
                         throws java.io.IOException
java.io.IOException

orderEngineSetup

public abstract void orderEngineSetup()

determineSpaceBattles

public abstract void determineSpaceBattles()
This method is called by GameEngine during turn processing to determine if there any space battles. The factors for a space battle are determined by the Scheme.


newStation

public abstract StationID newStation(CivID owner,
                                     PlanetID PID)
Factory method for creating this scheme's version of a Station


newPlanet

public abstract PlanetID newPlanet(SystemID SID,
                                   int starIndex,
                                   java.lang.String in_name)
Factory method for creating this scheme's version of a Planet



Copyright © 2001 Universe Dev Team All Rights Reserved.