com.threerings.micasa.simulator.server
Class SimulatorManager.CreateGameTask

java.lang.Object
  extended by com.threerings.micasa.simulator.server.SimulatorManager.CreateGameTask
Enclosing class:
SimulatorManager

public class SimulatorManager.CreateGameTask
extends Object


Field Summary
protected  GameConfig _config
          The game config object.
protected  GameManager _gmgr
          The game manager for the game being created.
protected  GameObject _gobj
          The game object for the game being created.
protected  int _playerCount
          The number of players in the game.
protected  String _simClass
          The simulant class instantiated on game creation.
protected  List<ClientObject> _sims
          The simulant body objects.
protected  BodyObject _source
          The body object of the player requesting the game creation.
 
Constructor Summary
SimulatorManager.CreateGameTask(BodyObject source, GameConfig config, String simClass, int playerCount)
           
 
Method Summary
protected  void createSimulants()
          Called when all simulant body objects are present and the simulants are ready to be created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sims

protected List<ClientObject> _sims
The simulant body objects.


_gobj

protected GameObject _gobj
The game object for the game being created.


_gmgr

protected GameManager _gmgr
The game manager for the game being created.


_playerCount

protected int _playerCount
The number of players in the game.


_simClass

protected String _simClass
The simulant class instantiated on game creation.


_config

protected GameConfig _config
The game config object.


_source

protected BodyObject _source
The body object of the player requesting the game creation.

Constructor Detail

SimulatorManager.CreateGameTask

public SimulatorManager.CreateGameTask(BodyObject source,
                                       GameConfig config,
                                       String simClass,
                                       int playerCount)
Method Detail

createSimulants

protected void createSimulants()
Called when all simulant body objects are present and the simulants are ready to be created.