public EnemyStateRoam(EnemySoilder owner, EnemyDebugger debugger) : base(owner, debugger) { currentWaypoint = FindClosestWaypoint(); move = new EnemyMoveNonCombat(owner, currentWaypoint.Position, OnMoveTargetReached, OnPathCreated); }
void OnMoveTargetReached() { currentWaypoint = GetNextWaypoint(); move = CreateNewMoveInstance(); }