com.threerings.tudey.client.sprite
Class ActorSprite.Moving
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.Moving
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Direct Known Subclasses:
- ActorSprite.Acting
- Enclosing class:
- ActorSprite
public static class ActorSprite.Moving
- extends ActorSprite.Original
Depicts a mobile actor with optional movement animations.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
| Methods inherited from class com.threerings.tudey.client.sprite.ActorSprite.Implementation |
clearMessages, dispatchEvent, displayMessage, getScopeName, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, isClickable, isHoverable, occupantEntered, occupantLeft, occupantUpdated |
ActorSprite.Moving
public ActorSprite.Moving(TudeyContext ctx,
Scope parentScope,
ActorSpriteConfig.Moving 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
getAttachedScale
public float getAttachedScale()
- Description copied from class:
ActorSprite.Implementation
- Returns a scale factor for attached models.
- Overrides:
getAttachedScale in class ActorSprite.Implementation
Copyright © 2011. All Rights Reserved.