All Packages Class Hierarchy This Package Previous Next Index
Class improv.actor.behavior.Hold
java.lang.Object
|
+----improv.actor.behavior.Action
|
+----improv.actor.behavior.Hold
- public final class Hold
- extends Action
An explicit or randomly determined pause in a Sequence
-
Hold(float)
-
-
Hold(float, float)
-
-
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 time)
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
Hold
public Hold(float min,
float max)
doAction
public void doAction()
- Does nothing. Used when performing exit actions
- Overrides:
- doAction in class Action
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
- Overrides:
- doAction in class Action
getType
public String getType()
- Overrides:
- getType in class Action
All Packages Class Hierarchy This Package Previous Next Index