Path between two Positions that uses pathfinding mainly for length comparison purposes.
More...
Path between two Positions that uses pathfinding mainly for length comparison purposes.
◆ Path()
Create a Path between two Positions.
- Parameters
-
- Exceptions
-
ArgumentNullException | Thrown if any of the Positions is null. |
◆ operator<()
static bool XposeCraft.Game.Path.operator< |
( |
Path |
left, |
|
|
Path |
right |
|
) |
| |
|
static |
◆ operator<=()
static bool XposeCraft.Game.Path.operator<= |
( |
Path |
left, |
|
|
Path |
right |
|
) |
| |
|
static |
◆ operator>()
static bool XposeCraft.Game.Path.operator> |
( |
Path |
left, |
|
|
Path |
right |
|
) |
| |
|
static |
◆ operator>=()
static bool XposeCraft.Game.Path.operator>= |
( |
Path |
left, |
|
|
Path |
right |
|
) |
| |
|
static |
◆ From
Closest available Position to the one used as a Path source.
◆ Length
int XposeCraft.Game.Path.Length |
|
get |
Length representing the number of available Positions between the two Positions (inclusive), or some available that are closest to them.
Value 0 means the Path is invalid, which is most likely to happen when both Positions are unavailable.
◆ PointLocations
int [] XposeCraft.Game.Path.PointLocations |
|
get |
Continuous locations of the Path.
This API is experimental and may be turned to Positions or removed in a later release.
◆ To
Closest available Position to the one used as a Path destination.
The documentation for this class was generated from the following file:
- W:/Unity/XposeCraft/Assets/Game/Scripts/Game/Path.cs