TransientMovementOverride

public interface TransientMovementOverride implements AutoCloseable

A temporary, adapter-owned movement objective which can be redirected without rebuilding the entity's permanent AI. Implementations must make close idempotent and remove only state that they installed.

Functions

Link copied to clipboard
public abstract void close()
Link copied to clipboard
public abstract boolean isActive()
Link copied to clipboard
public abstract boolean retarget(Location threatLocation)
Redirects the movement objective to the current threat location.