Calculates paths in maps using djikstra's algorithms
| C# |
public class TCODPathFinding : IDisposable
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| TCODPathFinding(Int32, Int32, Double, TCODPathCallback) |
Create a new TCODPathFinding with a callback to determine cell information
| |
| TCODPathFinding(TCODFov, Double) |
Create new TCODPathFinding using map from TCODFov instance
| |
| ComputePath(Int32, Int32, Int32, Int32) |
Compute a path from source to destination.
| |
| Dispose()()() |
Destory unmanaged pathfinding resource.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetPathSize()()() |
Get remainding points on path
| |
| GetPointOnPath(Int32, Int32%, Int32%) |
Query individual point on path
| |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsPathEmpty()()() |
Returns if path is empty of points
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()() | (Inherited from Object.) | |
| WalkPath(Int32%, Int32%, Boolean) |
Walk along a path. Fill x and y with previous step's coord to get next point.
|
| Object | |
| TCODPathFinding | |