Interface ISimModule

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

An optional system that plugs into the tick loop without changing it. Keep state in the world (or in the module keyed by world) so runs stay deterministic; use world.Random only.

public interface ISimModule

Methods

Begin(SimWorld)

Wave start, after all built-in systems began.

void Begin(SimWorld world)

Parameters

world SimWorld

Tick(SimWorld, SimModulePhase)

void Tick(SimWorld world, SimModulePhase phase)

Parameters

world SimWorld
phase SimModulePhase