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