Interface IMovementPolicy

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

Optional host navigation for friendly actors; implementations must avoid fixed-tick allocation.

public interface IMovementPolicy

Methods

TryGetWaypoint(Simulation, Entity, Vec2, out Vec2)

Returns the next walkable waypoint, or false to wait without moving.

bool TryGetWaypoint(Simulation simulation, Entity actor, Vec2 destination, out Vec2 waypoint)

Parameters

simulation Simulation
actor Entity
destination Vec2
waypoint Vec2

Returns

bool