com.threerings.tudey.config
Class BehaviorConfig.WeightedBehavior
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.BehaviorConfig.WeightedBehavior
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- BehaviorConfig
public static class BehaviorConfig.WeightedBehavior
- extends DeepObject
- implements Exportable
Combines a behavior with its weight.
weight
@Editable(min=0.0,
step=0.01)
public float weight
- The weight of the behavior.
behavior
@Editable(nullable=true)
public ConfigReference<BehaviorConfig> behavior
- The behavior itself.
BehaviorConfig.WeightedBehavior
public BehaviorConfig.WeightedBehavior()
Copyright © 2011. All Rights Reserved.