com.threerings.tudey.client.sprite
Class ActorSprite.StatefulModelEntry
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.ActorSprite.Implementation
com.threerings.tudey.client.sprite.ActorSprite.Original
com.threerings.tudey.client.sprite.ActorSprite.StatefulModelEntry
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Enclosing class:
- ActorSprite
public static class ActorSprite.StatefulModelEntry
- extends ActorSprite.Original
Changes model configurations on the corresponding entry sprite.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
| Methods inherited from class com.threerings.tudey.client.sprite.ActorSprite.Implementation |
clearMessages, dispatchEvent, displayMessage, getAttachedScale, getScopeName, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, isClickable, isHoverable, occupantEntered, occupantLeft, occupantUpdated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_entryModel
protected Model _entryModel
- The model corresponding to the entry sprite.
_lastStateEntered
protected int _lastStateEntered
- The time at which we entered the last state.
ActorSprite.StatefulModelEntry
public ActorSprite.StatefulModelEntry(TudeyContext ctx,
Scope parentScope,
ActorSpriteConfig.StatefulModelEntry config)
- Creates a new implementation.
setConfig
public void setConfig(ActorSpriteConfig config)
- Description copied from class:
ActorSprite.Original
- (Re)configures the implementation.
- Overrides:
setConfig in class ActorSprite.Original
update
public void update(Actor actor)
- Description copied from class:
ActorSprite.Implementation
- Updates the implementation with new interpolated state.
- Overrides:
update in class ActorSprite.Original