[][src]Module myelin_engine::simulation

Entrypoint for the Simulaton API handling the world itself

Modules

builder

Builder for the Simulation

time

Functionality for dealing with time measurement

world

Definitions for the underlying World used internally by Simulation

Structs

SimulationBuilder

Builder for the Simulation. This is the composition root. Only advanced users should derive from the defaults.

SimulationImpl

Implementation of Simulation that uses a physical World in order to apply physics to objects.

Enums

ActionError

An error that can occur whenever an action is performed

Traits

Simulation

A Simulation that can be filled with Object on which it will apply physical rules when calling step. This trait represents our API.

Type Definitions

Id

Unique identifier of an Object

InstantWrapperFactoryFn

Factory to retrieve a current Instant, wrapped by InstantWrapper

Snapshot

A representation of the current state of the simulation

WorldInteractorFactoryFn

Factory used by SimulationImpl to create an WorldInteractor.