com.threerings.tudey.config
Class ActorSpriteConfig.WeightedAnimation

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by 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.


Field Summary
 ConfigReference<AnimationConfig> animation
          The animation reference.
 float weight
          The weight of the animation (affects how often it occurs).
 
Constructor Summary
ActorSpriteConfig.WeightedAnimation()
           
 
Method Summary
 
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

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.

Constructor Detail

ActorSpriteConfig.WeightedAnimation

public ActorSpriteConfig.WeightedAnimation()


Copyright © 2011. All Rights Reserved.