|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.config.ActorConfig.Implementation
com.threerings.tudey.config.ActorConfig.Original
com.threerings.tudey.config.ActorConfig.Mobile
public static class ActorConfig.Mobile
Base class for mobile implementations.
| Field Summary | |
|---|---|
float |
speed
The speed at which the actor (normally) travels. |
boolean |
startInStasis
Whether or not the actor starts out in stasis. |
boolean |
startMoving
If true, set the actor in motion after spawning. |
int |
stasisInterval
Put the actor into stasis when it's been out of sight for this long (zero if we should never put it into stasis). |
| Fields inherited from class com.threerings.tudey.config.ActorConfig.Original |
|---|
collisionFlags, collisionMask, defaultEntrance, handlers, isStatic, shape, spawnAdjustMask, spawnMask, sprite, tags |
| Constructor Summary | |
|---|---|
ActorConfig.Mobile()
Default constructor. |
|
| Method Summary | |
|---|---|
Actor |
createActor(ConfigReference<ActorConfig> config,
int id,
int created,
Vector2f translation,
float rotation)
Creates a new actor of the type associated with this config. |
String |
getLogicClassName()
Returns the name of the server-side logic class to use for the actor. |
| Methods inherited from class com.threerings.tudey.config.ActorConfig.Original |
|---|
getOriginal, getPreloads, getSpriteImplementation, invalidate |
| Methods inherited from class com.threerings.tudey.config.ActorConfig.Implementation |
|---|
getUpdateReferences |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable(min=0.0,
step=0.01,
hgroup="s")
public float speed
@Editable(hgroup="s") public boolean startMoving
@Editable(hgroup="a") @Strippable public boolean startInStasis
@Editable(min=0.0,
hgroup="a")
@Strippable
public int stasisInterval
| Constructor Detail |
|---|
public ActorConfig.Mobile()
| Method Detail |
|---|
public String getLogicClassName()
ActorConfig.Original
getLogicClassName in class ActorConfig.Original
public Actor createActor(ConfigReference<ActorConfig> config,
int id,
int created,
Vector2f translation,
float rotation)
ActorConfig.Original
createActor in class ActorConfig.Original
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||