Interface ITriggerSystem

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

World: item and character triggers.

public interface ITriggerSystem

Methods

Begin(SimWorld, IReadOnlyList<TriggerDef>)

At wave start: builds world.Triggers from the request and fires OnWaveStart.

void Begin(SimWorld world, IReadOnlyList<TriggerDef> triggers)

Parameters

world SimWorld
triggers IReadOnlyList<TriggerDef>

Tick(SimWorld)

Step 13a (after deaths are collected, before pickups): reacts to this tick's events (EnemyKilled, EnemyDamaged from weapons, PlayerDamaged, LevelUp), periodic timers and temp buff expiry.

void Tick(SimWorld world)

Parameters

world SimWorld