All Packages Class Hierarchy This Package Previous Next Index
Class improv.actor.behavior.Hold
java.lang.Object
|
+----improv.actor.behavior.Hold
- public final class Hold
- extends Object
- implements Action
An explicit or randomly determined pause in a Sequence
-
Hold(float, float, Sequence)
- Create a Hold to cause a randomly determined pause in the Sequence
-
Hold(float, Sequence)
- Create a Hold to cause an explicitly timed pause in the Sequence
-
doAction()
- Does nothing.
-
doAction(double)
- After the Hold is initiated, it will continue until the time elapsed exceeds
the pause time which has been explicitly set or randomly determined.
-
getType()
-
Hold
public Hold(float time,
Sequence sequence)
- Create a Hold to cause an explicitly timed pause in the Sequence
- Parameters:
- time - the length of the pause
- sequence - the sequence this Hold is being added to
Hold
public Hold(float min,
float max,
Sequence sequence)
- Create a Hold to cause a randomly determined pause in the Sequence
- Parameters:
- min - the minimum time for the pause
- max - the maximum time for the pause
- sequence - the sequence this Hold is being added to
doAction
public void doAction()
- Does nothing. Used when performing exit actions
doAction
public void doAction(double time)
- After the Hold is initiated, it will continue until the time elapsed exceeds
the pause time which has been explicitly set or randomly determined.
- Parameters:
- time - the clock time of the sequence
getType
public String getType()
All Packages Class Hierarchy This Package Previous Next Index