|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.config.ConditionConfig
@EditorTypes(value={ConditionConfig.Tagged.class,ConditionConfig.InstanceOf.class,ConditionConfig.Intersecting.class,ConditionConfig.DistanceWithin.class,ConditionConfig.Random.class,ConditionConfig.Limit.class,ConditionConfig.All.class,ConditionConfig.Any.class,ConditionConfig.FlagSet.class,ConditionConfig.Cooldown.class,ConditionConfig.Not.class,ConditionConfig.Always.class,ConditionConfig.Evaluate.class,ConditionConfig.Action.class})
@Strippable
public abstract class ConditionConfigConfigurations for handler conditions.
| Nested Class Summary | |
|---|---|
static class |
ConditionConfig.Action
Satisfied if executing the aciton returns true. |
static class |
ConditionConfig.All
Satisfied if all of the component conditions are satisfied. |
static class |
ConditionConfig.Always
Satisfied always. |
static class |
ConditionConfig.Any
Satisfied if any of the component conditions are satisfied. |
static class |
ConditionConfig.Cooldown
Ensures a cooldown time is met between satisfied conditions. |
static class |
ConditionConfig.DistanceWithin
Determines whether the distance between two entities is within a pair of bounds. |
static class |
ConditionConfig.Evaluate
Satisfied if the expression evaluates to true. |
static class |
ConditionConfig.FlagSet
Determines whether an actor's flag is set. |
static class |
ConditionConfig.InstanceOf
Determines whether an entity('s logic) is an instance of some class. |
static class |
ConditionConfig.Intersecting
Determines whether two regions intersect. |
static class |
ConditionConfig.Limit
Will be satisfied a fixed number of times. |
static class |
ConditionConfig.Not
Satisfied if the component condition is not satisfied. |
static class |
ConditionConfig.Random
Satisfied with a fixed probability. |
static class |
ConditionConfig.Tagged
Determines whether an entity has a tag. |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Constructor Summary | |
|---|---|
ConditionConfig()
|
|
| Method Summary | |
|---|---|
abstract String |
getLogicClassName()
Returns the name of the server-side logic class for this condition. |
void |
getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
Adds the resources to preload for this action into the provided set. |
void |
invalidate()
Invalidates any cached data. |
| 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 |
| Constructor Detail |
|---|
public ConditionConfig()
| Method Detail |
|---|
public abstract String getLogicClassName()
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||