dk.itu.smds.torusman
Class InitGame

java.lang.Object
  extended by dk.itu.smds.torusman.InitGame
Direct Known Subclasses:
SInitGame

public class InitGame
extends java.lang.Object

Object for specifying initial game data.


Constructor Summary
InitGame()
           
 
Method Summary
static InitGame getInitGame()
          Return an object that can provide game init data.
 Torus newTorus(TorusManParameters torusManParameters, LocalMan localMan)
          Return a torus object for the local game.
 TorusManParameters newTorusManParameters()
          Return a TorusManParameters object.
 dk.itu.smds.util.Parameters setParameters(TorusManParameters torusManParameters, jgame.platform.JGEngine eng)
          Set up some options to be presented for the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitGame

public InitGame()
Method Detail

getInitGame

public static InitGame getInitGame()
Return an object that can provide game init data.

Returns:
the inits the game

newTorusManParameters

public TorusManParameters newTorusManParameters()
Return a TorusManParameters object.

Returns:
the torus man parameters

setParameters

public dk.itu.smds.util.Parameters setParameters(TorusManParameters torusManParameters,
                                                 jgame.platform.JGEngine eng)
Set up some options to be presented for the user.

Parameters:
torusManParameters - the torus man parameters
eng - the eng
Returns:
the parameters

newTorus

public Torus newTorus(TorusManParameters torusManParameters,
                      LocalMan localMan)
Return a torus object for the local game.

Parameters:
torusManParameters - the torus man parameters
localMan - the local man
Returns:
the torus