com.threerings.tudey.config
Class ActorSpriteConfig.WeightedAnimation
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ActorSpriteConfig.WeightedAnimation
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ActorSpriteConfig
public static class ActorSpriteConfig.WeightedAnimation
- extends DeepObject
- implements Exportable
Contains an animation reference and an associated weight.
weight
@Editable(min=0.0,
step=0.01)
public float weight
- The weight of the animation (affects how often it occurs).
animation
@Editable(nullable=true)
public ConfigReference<AnimationConfig> animation
- The animation reference.
ActorSpriteConfig.WeightedAnimation
public ActorSpriteConfig.WeightedAnimation()
Copyright © 2011. All Rights Reserved.