All Packages Class Hierarchy This Package Previous Next Index
Class improv.actor.behavior.DecisionTrigger
java.lang.Object
|
+----improv.actor.behavior.Action
|
+----improv.actor.behavior.DecisionTrigger
- public final class DecisionTrigger
- extends Action
-
DecisionTrigger(String[], ChannelReference, float, boolean)
-
-
DecisionTrigger(String[], ChannelReference, float, boolean, Sequence)
-
-
doAction()
-
Perform the Decision, and trigger a Behavior.
-
doAction(double)
-
Perform the Decision, and trigger a Behavior.
-
getType()
-
DecisionTrigger
public DecisionTrigger(String behaviorNames[],
ChannelReference channelReference,
float duration,
boolean momentary,
Sequence sequence)
- Parameters:
- behaviorNames - an array of names of behaviors to choose from.
- channelReference - the ChannelReference 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
DecisionTrigger
public DecisionTrigger(String behaviorNames[],
ChannelReference channelReference,
float duration,
boolean momentary)
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.
- Overrides:
- doAction in class Action
doAction
public void doAction()
- Perform the Decision, and trigger a Behavior.
- Overrides:
- doAction in class Action
getType
public String getType()
- Overrides:
- getType in class Action
All Packages Class Hierarchy This Package Previous Next Index