feat: add pathfinding
This commit is contained in:
18
Client/Domain/Service/AsyncPathMoverInterface.cs
Normal file
18
Client/Domain/Service/AsyncPathMoverInterface.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Client.Domain.DTO;
|
||||
using Client.Domain.ValueObjects;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Service
|
||||
{
|
||||
public interface AsyncPathMoverInterface
|
||||
{
|
||||
public ObservableCollection<PathSegment> Path { get; }
|
||||
public Task<bool> MoveAsync(Vector3 location);
|
||||
public Task MoveUntilReachedAsync(Vector3 location);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user