com.threerings.tudey.config
Class BehaviorConfig.Random
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.BehaviorConfig.Implementation
com.threerings.tudey.config.BehaviorConfig.Original
com.threerings.tudey.config.BehaviorConfig.Evaluating
com.threerings.tudey.config.BehaviorConfig.Random
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- BehaviorConfig
public static class BehaviorConfig.Random
- extends BehaviorConfig.Evaluating
Chooses a sub-behavior randomly according to their weights for each evaluation.
behaviors
@Editable
public BehaviorConfig.WeightedBehavior[] behaviors
- The weighted component behaviors.
BehaviorConfig.Random
public BehaviorConfig.Random()
getLogicClassName
public String getLogicClassName()
- Description copied from class:
BehaviorConfig.Original
- Returns the name of the server-side logic class to use for the actor.
- Overrides:
getLogicClassName in class BehaviorConfig.Original
Copyright © 2011. All Rights Reserved.