Class WanderNearPlayerMovement

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

Built-in movement between seeded destinations near the player.

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

Constructors

WanderNearPlayerMovement()

public WanderNearPlayerMovement()

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