com.threerings.tudey.config
Class ActorSpriteConfig.StatefulModelEntry
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ActorSpriteConfig
com.threerings.tudey.config.ActorSpriteConfig.Default
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 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 |
states
@Editable
public ActorSpriteConfig.ModelState[] states
- The entry's states.
ActorSpriteConfig.StatefulModelEntry
public ActorSpriteConfig.StatefulModelEntry()
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