|
||||||||||
| 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.MovementSet
com.threerings.tudey.config.ActorSpriteConfig.QuadMovement
public static class ActorSpriteConfig.QuadMovement
A movement set with separate animations for the four directions.
| Field Summary | |
|---|---|
ConfigReference<AnimationConfig> |
backward
The backward animation reference. |
ConfigReference<AnimationConfig> |
forward
The forward animation reference. |
ConfigReference<AnimationConfig> |
left
The left animation reference. |
ConfigReference<AnimationConfig> |
right
The right animation reference. |
| Fields inherited from class com.threerings.tudey.config.ActorSpriteConfig.MovementSet |
|---|
speed |
| Constructor Summary | |
|---|---|
ActorSpriteConfig.QuadMovement()
|
|
| Method Summary | |
|---|---|
void |
getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
Adds the resources to preload for this sprite into the provided set. |
Animation[] |
resolve(Model model)
Resolves the movement set animations for the supplied model. |
| 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(nullable=true) public ConfigReference<AnimationConfig> forward
@Editable(nullable=true) public ConfigReference<AnimationConfig> left
@Editable(nullable=true) public ConfigReference<AnimationConfig> backward
@Editable(nullable=true) public ConfigReference<AnimationConfig> right
| Constructor Detail |
|---|
public ActorSpriteConfig.QuadMovement()
| Method Detail |
|---|
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
ActorSpriteConfig.MovementSet
getPreloads in class ActorSpriteConfig.MovementSetpublic Animation[] resolve(Model model)
ActorSpriteConfig.MovementSet
resolve in class ActorSpriteConfig.MovementSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||