added some convenience methods that make our lives easier
[Mograsim.git] / era.mi / src / era / mi / logic / timeline / Timeline.java
index 125b69c..2392f4c 100644 (file)
@@ -33,6 +33,12 @@ public class Timeline
                currentTime = first.getTiming();
                first.run();
        }
+       
+       public void executeAll()
+       {
+               while (hasNext())
+                       executeNext();
+       }
 
        public long getSimulationTime()
        {