|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.micasa.simulator.server.Simulant
public abstract class Simulant
| Field Summary | |
|---|---|
protected GameConfig |
_config
The game config object. |
protected GameManager |
_gmgr
The game manager for the game we're playing. |
protected DObjectManager |
_omgr
The object manager with which we're interacting. |
protected BodyObject |
_self
Our body object. |
| Constructor Summary | |
|---|---|
Simulant()
|
|
| Method Summary | |
|---|---|
void |
init(BodyObject self,
GameConfig config,
GameManager gmgr,
DObjectManager omgr)
Initializes the simulant with a body object and the game config for the game they'll be engaged in. |
protected void |
postEvent(MessageEvent mevt)
Posts the given message event to the server. |
void |
willEnterPlace(PlaceObject plobj)
Called when the simulant is about to enter the room in which it will be doing all of its business. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GameConfig _config
protected GameManager _gmgr
protected BodyObject _self
protected DObjectManager _omgr
| Constructor Detail |
|---|
public Simulant()
| Method Detail |
|---|
public void init(BodyObject self,
GameConfig config,
GameManager gmgr,
DObjectManager omgr)
public void willEnterPlace(PlaceObject plobj)
protected void postEvent(MessageEvent mevt)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||