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


Constructor Index

 o Hold(float, float, Sequence)
Create a Hold to cause a randomly determined pause in the Sequence
 o Hold(float, Sequence)
Create a Hold to cause an explicitly timed pause in the Sequence

Method Index

 o doAction()
Does nothing.
 o 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.
 o getType()

Constructors

 o 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
 o 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

Methods

 o doAction
 public void doAction()
Does nothing. Used when performing exit actions

 o 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
 o getType
 public String getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index