com.yobotics.simulationconstructionset.scripts
Class TimerScript

java.lang.Object
  extended by com.yobotics.simulationconstructionset.scripts.TimerScript
All Implemented Interfaces:
Script

public class TimerScript
extends java.lang.Object
implements Script


Constructor Summary
TimerScript(java.lang.String name, YoVariableRegistry parentRegistry)
           
 
Method Summary
 void doScript(double t)
           
 DoubleYoVariable getTimeElapsed()
           
 void startTimer()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerScript

public TimerScript(java.lang.String name,
                   YoVariableRegistry parentRegistry)
Method Detail

doScript

public void doScript(double t)
Specified by:
doScript in interface Script

startTimer

public void startTimer()

getTimeElapsed

public DoubleYoVariable getTimeElapsed()