Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

real reset() #44

Closed
artgoldberg opened this issue Apr 14, 2020 · 1 comment
Closed

real reset() #44

artgoldberg opened this issue Apr 14, 2020 · 1 comment
Assignees
Milestone

Comments

@artgoldberg
Copy link
Contributor

Make real reset() method, that sets up a simulation engine for another simulation after initialize():

  • Empty event queues
  • Restore all objects to their initial states

Related to #12.

@artgoldberg artgoldberg added this to the Q2 2020 milestone Apr 14, 2020
@artgoldberg artgoldberg self-assigned this Apr 14, 2020
@artgoldberg
Copy link
Contributor Author

For now, Simulator.reset() delete all objects, and empties the event queue which makes a Simulator reusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant