2023-04-03 23:19:16 -07:00
|
|
|
This is a simple example of a pluggable object simulator. If you run the
|
|
|
|
|
SimulatorRunner file, it'll throw up a GUI file picker if a simulation class
|
|
|
|
|
isn't specified on the command line. It will then:
|
|
|
|
|
|
|
|
|
|
* Run the simulation class's `start()` method,
|
|
|
|
|
* Call its `tick()` method,
|
2023-04-03 23:49:36 -07:00
|
|
|
* Call its `use()` method with random uses from `get_uses()`,
|
|
|
|
|
* then call its `stop()` method once `tick()` or `use()` returns false.
|