|
||||||||||
| 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.data.actor.Actor
com.threerings.tudey.data.actor.EntryState
public class EntryState
An actor that represents the state of an entry. Entries themselves cannot have dynamic state per se, so stateful entries must create actor instances to represent their dynamic state. The sprites for these actors may manipulate the entries' sprites.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary |
|---|
| Fields inherited from class com.threerings.tudey.data.actor.Actor |
|---|
LAST_FLAG, WARP |
| Constructor Summary | |
|---|---|
EntryState()
No-arg constructor for deserialization. |
|
EntryState(ConfigReference<ActorConfig> config,
int id,
int created,
Vector2f translation,
float rotation)
Creates a new entry state actor. |
|
| Method Summary | |
|---|---|
Object |
getKey()
Returns the key of the entry to which this actor corresponds. |
int |
getState()
Returns the state that the entry is in. |
int |
getStateEntered()
Returns the time at which the entry entered its current state. |
void |
setKey(Object key)
Sets the key of the entry to which this actor corresponds. |
void |
setState(int state,
int entered)
Sets the state that the entry is in. |
| Methods inherited from class com.threerings.tudey.data.actor.Actor |
|---|
canCollide, canCollide, clear, copy, createAdvancer, equals, extrapolate, getCollisionFlags, getCollisionMask, getConfig, getCreated, getDestroyed, getFlags, getId, getOriginal, getPreloads, getRotation, getTranslation, hashCode, init, interpolate, isClientControlled, isDirty, isSet, maybeCreateAdvancer, set, set, setConfig, setDestroyed, setDirty, setFlags, setRotation, setTranslation, toString |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EntryState(ConfigReference<ActorConfig> config,
int id,
int created,
Vector2f translation,
float rotation)
public EntryState()
| Method Detail |
|---|
public void setKey(Object key)
public Object getKey()
public void setState(int state,
int entered)
public int getState()
public int getStateEntered()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||