Struct simulation::SimulationRunner [] [src]

pub struct SimulationRunner {
    pub uavs: Vec<UavRunner>,
    // some fields omitted

A structure for running a configured simulation



impl SimulationRunner

Create a new simulation runner using the provided config and list of animals

Get a snapshot of the current simulation frame

Checks if the new config is compatible with the old config.

Performs a single step in the simulation

Updates the config of all subcomponents (if compabible)