|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.config.ActorSpriteConfig
@EditorTypes(value={ActorSpriteConfig.Default.class,ActorSpriteConfig.Moving.class,ActorSpriteConfig.StatefulEntry.class})
public abstract class ActorSpriteConfigThe configuration of an actor sprite.
| Nested Class Summary | |
|---|---|
static class |
ActorSpriteConfig.Default
The default sprite. |
static class |
ActorSpriteConfig.MovementSet
Represents a set of movement animations. |
static class |
ActorSpriteConfig.Moving
A sprite with idle and movement animations. |
static class |
ActorSpriteConfig.QuadMovement
A movement set with separate animations for the four directions. |
static class |
ActorSpriteConfig.RotationSet
Represents a set of rotation animations. |
static class |
ActorSpriteConfig.SingleMovement
A movement set with a single animation. |
static class |
ActorSpriteConfig.State
Represents a single animated state. |
static class |
ActorSpriteConfig.StatefulEntry
Manipulates an entry sprite to reflect the state of the entry's corresponding actor. |
static class |
ActorSpriteConfig.WeightedAnimation
Contains an animation reference and an associated weight. |
| Field Summary | |
|---|---|
ConfigReference<ModelConfig> |
creationTransient
A transient to spawn when the actor is created. |
ConfigReference<ModelConfig> |
destructionTransient
A transient to spawn when the actor is destroyed. |
int |
floorFlags
Determines which floor categories the sprite belongs to. |
int |
floorMask
Determines which floor categories the actor walks over. |
ConfigReference<ModelConfig> |
model
The actor model. |
| Constructor Summary | |
|---|---|
ActorSpriteConfig()
|
|
| Method Summary | |
|---|---|
abstract 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. |
void |
invalidate()
Invalidates any cached data. |
| 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 |
|---|
@Editable(editor="mask",
mode="floor",
hgroup="f")
public int floorFlags
@Editable(editor="mask",
mode="floor",
hgroup="f")
public int floorMask
@Editable(nullable=true) public ConfigReference<ModelConfig> model
@Editable(nullable=true) public ConfigReference<ModelConfig> creationTransient
@Editable(nullable=true) public ConfigReference<ModelConfig> destructionTransient
| Constructor Detail |
|---|
public ActorSpriteConfig()
| Method Detail |
|---|
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
public abstract ActorSprite.Implementation getImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||