16 lines
398 B
C#
16 lines
398 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace GeometryTD.Pathfinding
|
|
{
|
|
public interface IMapPathfinder
|
|
{
|
|
bool TryFindPath(
|
|
IReadOnlyCollection<Vector3Int> walkableCells,
|
|
Vector3Int startCell,
|
|
Vector3Int destinationCell,
|
|
IReadOnlyCollection<Vector3Int> blockedCells,
|
|
List<Vector3Int> pathResult);
|
|
}
|
|
}
|