uchicago.src.sim.engine
Class ThreadedAction
java.lang.Object
|
+--uchicago.src.sim.engine.BasicAction
|
+--uchicago.src.sim.engine.ThreadedAction
- public class ThreadedAction
- extends BasicAction
A wrapper that executes BasicActions within a Thread.
|
Method Summary |
void |
done()
|
void |
execute()
Executes this BasicAction. |
boolean |
isDone()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadedAction
public ThreadedAction(BasicAction action,
double duration)
done
public void done()
isDone
public boolean isDone()
execute
public void execute()
- Description copied from class:
BasicAction
- Executes this BasicAction. Typically invokes a Method on some
Object.
- Specified by:
execute in class BasicAction
Bug reports and feature requests to RePast