Skip to content
Snippets Groups Projects
Commit c83ca05c authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

Added a fast forward to execute all events until a given position.

parent 218c85ac
No related branches found
No related tags found
No related merge requests found
......@@ -70,4 +70,7 @@ class Calendar:
selfdeco.fun(*args)
return calendarDeco
def fastForward(self,t):
for i in range(t): self.run(i)
attime=Calendar()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment