Interface IEnemySystem

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

Enemies: per-enemy behaviour.

public interface IEnemySystem

Methods

CollectDeath(SimWorld, Enemy)

Called by death collection for each dead enemy before it is removed: boss defeat events and elite death effects (splitting adds to world.DeathSpawns).

void CollectDeath(SimWorld world, Enemy enemy)

Parameters

world SimWorld
enemy Enemy

InitEnemy(SimWorld, Enemy)

Initializes spawn-time values (health, speed jitter, offsets, first cooldown).

void InitEnemy(SimWorld world, Enemy enemy)

Parameters

world SimWorld
enemy Enemy

Tick(SimWorld)

Step 5 (enemies): contact timer, knockback, attack, movement, support, contact damage; in list order.

void Tick(SimWorld world)

Parameters

world SimWorld