Table of Contents

Interface IAIWaypoints

Namespace
FishMMO.Shared.Core
Assembly
FishMMO.Shared.dll

Interface for AI waypoint management — patrolling and picking waypoints. Separated from IAIController to satisfy ISP: consumers that only need waypoint logic can depend on this smaller contract.

public interface IAIWaypoints : ICharacterBehaviour
Inherited Members

Methods

PickNearestWaypoint()

Picks the nearest waypoint to the current position and sets it as the destination.

bool PickNearestWaypoint()

Returns

bool

True if a waypoint destination was set.

TransitionToNextWaypoint()

Transitions to the next waypoint in the waypoint array.

bool TransitionToNextWaypoint()

Returns

bool

True if a waypoint destination was set.