com.threerings.tudey.config
Class ActorSpriteConfig.StatefulEntry

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.StatefulEntry
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActorSpriteConfig

public static class ActorSpriteConfig.StatefulEntry
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.MovementSet, ActorSpriteConfig.Moving, ActorSpriteConfig.QuadMovement, ActorSpriteConfig.RotationSet, ActorSpriteConfig.SingleMovement, ActorSpriteConfig.State, ActorSpriteConfig.StatefulEntry, ActorSpriteConfig.WeightedAnimation
 
Field Summary
 ActorSpriteConfig.State[] states
          The entry's states.
 
Fields inherited from class com.threerings.tudey.config.ActorSpriteConfig
creationTransient, destructionTransient, floorFlags, floorMask, model
 
Constructor Summary
ActorSpriteConfig.StatefulEntry()
           
 
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
invalidate
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

states

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

Constructor Detail

ActorSpriteConfig.StatefulEntry

public ActorSpriteConfig.StatefulEntry()
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


Copyright © 2011. All Rights Reserved.