feat: add max passable height to AI config
This commit is contained in:
@@ -13,10 +13,9 @@ namespace Client.Domain.Service
|
||||
{
|
||||
public PathfinderInterface Pathfinder { get; }
|
||||
public ObservableCollection<PathSegment> Path { get; }
|
||||
public Task<bool> MoveAsync(Vector3 location, ushort maxPassableHeight);
|
||||
public Task<bool> MoveAsync(Vector3 location);
|
||||
public Task MoveUntilReachedAsync(Vector3 location);
|
||||
public bool IsLocked { get; }
|
||||
|
||||
public void Unlock();
|
||||
}
|
||||
}
|
||||
|
@@ -10,7 +10,7 @@ namespace Client.Domain.Service
|
||||
{
|
||||
public interface PathfinderInterface
|
||||
{
|
||||
public List<PathSegment> FindPath(Vector3 start, Vector3 end);
|
||||
public List<PathSegment> FindPath(Vector3 start, Vector3 end, ushort maxPassableHeight);
|
||||
public bool HasLineOfSight(Vector3 start, Vector3 end);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user