As units and unit groups are created they must be added to the simulation. Units can optionally be specified as non-blocking when they are added to the simulation.
The most important function for a unitSimulation is stepTime, where all units are advanced forward in time by that increment of time. There are many different simulation options that can be set to provide slightly different simulation parameters. See the unitSimulation documentation for more details on these.
A unit simulation can be paused. If paused, all calls to stepTime will be ignored until the simulation is unpaused.
Prev: Unit-Groups Next: Abstractions