com.threerings.tudey.client.sprite
Class ActorSprite.StatefulEntry

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.tudey.client.sprite.ActorSprite.Implementation
          extended by com.threerings.tudey.client.sprite.ActorSprite.Original
              extended by com.threerings.tudey.client.sprite.ActorSprite.StatefulEntry
All Implemented Interfaces:
Scope, ScopeUpdateListener
Enclosing class:
ActorSprite

public static class ActorSprite.StatefulEntry
extends ActorSprite.Original

Executes animations on the corresponding entry sprite.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
ActorSprite.StatefulEntry(TudeyContext ctx, Scope parentScope, ActorSpriteConfig.StatefulEntry config)
          Creates a new implementation.
 
Method Summary
 void setConfig(ActorSpriteConfig config)
          (Re)configures the implementation.
 void update(Actor actor)
          Updates the implementation with new interpolated state.
 
Methods inherited from class com.threerings.tudey.client.sprite.ActorSprite.Original
createTooltipComponent, getFloorFlags, getFloorMask, wasCreated, willBeDestroyed
 
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 com.threerings.expr.SimpleScope
addListener, dispose, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActorSprite.StatefulEntry

public ActorSprite.StatefulEntry(TudeyContext ctx,
                                 Scope parentScope,
                                 ActorSpriteConfig.StatefulEntry config)
Creates a new implementation.

Method Detail

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


Copyright © 2011. All Rights Reserved.