geometry-tower-defense-base/src-ref/Scene/Pathfinding/IMapPathfinder.cs

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);
}
}