com.threerings.tudey.config
Class ConditionConfig.Random
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ConditionConfig
com.threerings.tudey.config.ConditionConfig.Random
- All Implemented Interfaces:
- Exportable, com.threerings.io.Streamable, Copyable, Cloneable
- Enclosing class:
- ConditionConfig
public static class ConditionConfig.Random
- extends ConditionConfig
Satisfied with a fixed probability.
| Nested classes/interfaces inherited from class com.threerings.tudey.config.ConditionConfig |
ConditionConfig.Action, ConditionConfig.All, ConditionConfig.Always, ConditionConfig.Any, ConditionConfig.Cooldown, ConditionConfig.DistanceWithin, ConditionConfig.Evaluate, ConditionConfig.FlagSet, ConditionConfig.InstanceOf, ConditionConfig.Intersecting, ConditionConfig.Limit, ConditionConfig.Not, ConditionConfig.Random, ConditionConfig.Tagged |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
|
Field Summary |
float |
probability
The probability that the condition is satisfied. |
probability
@Editable(min=0.0,
max=1.0,
step=0.01)
public float probability
- The probability that the condition is satisfied.
ConditionConfig.Random
public ConditionConfig.Random()
getLogicClassName
public String getLogicClassName()
- Description copied from class:
ConditionConfig
- Returns the name of the server-side logic class for this condition.
- Specified by:
getLogicClassName in class ConditionConfig
Copyright © 2011. All Rights Reserved.