Class ChaseMovement

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

Built-in movement that approaches the current player position.

public sealed class ChaseMovement : EnemyMovement, IEnemyMovement
Inheritance
ChaseMovement
Implements
Inherited Members

Constructors

ChaseMovement()

public ChaseMovement()

Methods

Step(SimWorld, Enemy, float, float)

The position the enemy wants to be at after this tick, before clamping.

public override Vec2 Step(SimWorld world, Enemy enemy, float speed, float dt)

Parameters

world SimWorld
enemy Enemy
speed float
dt float

Returns

Vec2