com.yobotics.simulationconstructionset.scripts
Class TimeScriptEntry

java.lang.Object
  extended by com.yobotics.simulationconstructionset.scripts.TimeScriptEntry
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>

public class TimeScriptEntry
extends java.lang.Object
implements java.lang.Comparable<java.lang.Object>


Constructor Summary
TimeScriptEntry(double time)
           
 
Method Summary
 void addTimeScriptCommand(TimeScriptCommand timeScriptCommand)
           
 void addVarValue(BooleanYoVariable variable, boolean value)
           
 void addVarValue(DoubleYoVariable variable, double value)
           
 void addVarValue(EnumYoVariable variable, java.lang.Enum value)
           
 void addVarValue(IntegerYoVariable variable, int value)
           
 int compareTo(java.lang.Object timeScriptEntry)
           
 void doCommands()
           
 double getTime()
           
 void setVarsToValues()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeScriptEntry

public TimeScriptEntry(double time)
Method Detail

addVarValue

public void addVarValue(DoubleYoVariable variable,
                        double value)

addVarValue

public void addVarValue(BooleanYoVariable variable,
                        boolean value)

addVarValue

public void addVarValue(IntegerYoVariable variable,
                        int value)

addVarValue

public void addVarValue(EnumYoVariable variable,
                        java.lang.Enum value)

compareTo

public int compareTo(java.lang.Object timeScriptEntry)
Specified by:
compareTo in interface java.lang.Comparable<java.lang.Object>

setVarsToValues

public void setVarsToValues()

doCommands

public void doCommands()

addTimeScriptCommand

public void addTimeScriptCommand(TimeScriptCommand timeScriptCommand)

getTime

public double getTime()