All Packages Class Hierarchy This Package Previous Next Index
Class improv.actor.behavior.DecisionTrigger
java.lang.Object
|
+----improv.actor.behavior.DecisionTrigger
- public final class DecisionTrigger
- extends Object
- implements Action
-
DecisionTrigger(String[], PropertyReference, float, boolean, float, Sequence)
-
-
doAction()
-
Perform the Decision, and trigger a Behavior.
-
doAction(double)
-
Perform the Decision, and trigger a Behavior.
-
getType()
-
DecisionTrigger
public DecisionTrigger(String behaviorNames[],
PropertyReference propertyReference,
float duration,
boolean momentary,
float time,
Sequence sequence)
- Parameters:
- behaviorNames - an array of names of behaviors to choose from.
- propertyReference - the PropertyReference used to rate the behaviors
- duration - the temporary duration of the behavior. If -1 then don't override behavior's duration.
- momentary - the temporary momentary behavior. If the behavior is already momentary, don't override.
- sequence - the sequence calling this action
doAction
public void doAction(double time)
- Perform the Decision, and trigger a Behavior.
- Parameters:
- time - the trigger time of the action. If -1 execute immediately.
doAction
public void doAction()
- Perform the Decision, and trigger a Behavior.
getType
public String getType()
All Packages Class Hierarchy This Package Previous Next Index