com.threerings.tudey.config
Class ActorSpriteConfig.StatefulModelEntry

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.ActorSpriteConfig
          extended by com.threerings.tudey.config.ActorSpriteConfig.Default
              extended by com.threerings.tudey.config.ActorSpriteConfig.StatefulModelEntry
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActorSpriteConfig

public static class ActorSpriteConfig.StatefulModelEntry
extends ActorSpriteConfig.Default

Manipulates an entry sprite to reflect the state of the entry's corresponding actor.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.ActorSpriteConfig
ActorSpriteConfig.Default, ActorSpriteConfig.ModelState, ActorSpriteConfig.MovementSet, ActorSpriteConfig.Moving, ActorSpriteConfig.QuadMovement, ActorSpriteConfig.RotationSet, ActorSpriteConfig.SingleMovement, ActorSpriteConfig.State, ActorSpriteConfig.StatefulEntry, ActorSpriteConfig.StatefulModelEntry, ActorSpriteConfig.WeightedAnimation
 
Field Summary
 ActorSpriteConfig.ModelState[] states
          The entry's states.
 
Fields inherited from class com.threerings.tudey.config.ActorSpriteConfig
creationTransient, destructionTransient, floorFlags, floorMask, model, smoothZ
 
Constructor Summary
ActorSpriteConfig.StatefulModelEntry()
           
 
Method Summary
 ActorSprite.Implementation getImplementation(TudeyContext ctx, Scope scope, ActorSprite.Implementation impl)
          Creates or updates a sprite implementation for this configuration.
 void getPreloads(ConfigManager cfgmgr, PreloadableSet preloads)
          Adds the resources to preload for this sprite into the provided set.
 
Methods inherited from class com.threerings.tudey.config.ActorSpriteConfig
createWeights, invalidate
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

states

@Editable
public ActorSpriteConfig.ModelState[] states
The entry's states.

Constructor Detail

ActorSpriteConfig.StatefulModelEntry

public ActorSpriteConfig.StatefulModelEntry()
Method Detail

getPreloads

public void getPreloads(ConfigManager cfgmgr,
                        PreloadableSet preloads)
Description copied from class: ActorSpriteConfig
Adds the resources to preload for this sprite into the provided set.

Overrides:
getPreloads in class ActorSpriteConfig

getImplementation

public ActorSprite.Implementation getImplementation(TudeyContext ctx,
                                                    Scope scope,
                                                    ActorSprite.Implementation impl)
Description copied from class: ActorSpriteConfig
Creates or updates a sprite implementation for this configuration.

Overrides:
getImplementation in class ActorSpriteConfig.Default