3 hours later
This commit is contained in:
Executable
+89
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using AStar;
|
||||
using System.Drawing;
|
||||
|
||||
namespace AStar
|
||||
{
|
||||
[Author("Franco, Gustavo")]
|
||||
interface IPathFinder
|
||||
{
|
||||
#region Events
|
||||
event PathFinderDebugHandler PathFinderDebug;
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
bool Stopped
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
HeuristicFormula Formula
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool Diagonals
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool HeavyDiagonals
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
int HeuristicEstimate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool PunishChangeDirection
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool TieBreaker
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
int SearchLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
double CompletedTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool DebugProgress
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool DebugFoundPath
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
void FindPathStop();
|
||||
List<PathFinderNode> FindPath(Point start, Point end);
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user