22 lines
644 B
C#
22 lines
644 B
C#
using System.Collections.Generic;
|
|
using CalamityMod.Pathfinding.Movements;
|
|
|
|
namespace CalamityMod.Pathfinding
|
|
{
|
|
/// <summary>
|
|
/// Defines an interface for an object that can use pathfinding.
|
|
/// </summary>
|
|
public interface IPathfinder
|
|
{
|
|
/// <summary>
|
|
/// A enumerable collection of <see cref="IMovement"/>s this pathfinder can use while pathfinding.
|
|
/// </summary>
|
|
IEnumerable<IMovement> Movements { get; }
|
|
|
|
/// <summary>
|
|
/// A method that defines behavior when the pathfinding is still being calculated.
|
|
/// </summary>
|
|
void AwaitingPathBehavior();
|
|
}
|
|
}
|