Class PathCalculationFailedEventArgs
- Namespace
- MoonBark.GridPlacement.Core.Services.Targeting
- Assembly
- MoonBark.GridPlacement.Core.dll
Event arguments for path calculation failure.
public class PathCalculationFailedEventArgs : EventArgs
- Inheritance
-
PathCalculationFailedEventArgs
- Inherited Members
Constructors
PathCalculationFailedEventArgs(string, CoreVector2I, CoreVector2I)
Initializes a new instance of the PathCalculationFailedEventArgs class.
public PathCalculationFailedEventArgs(string reason, CoreVector2I start, CoreVector2I end)
Parameters
reasonstringThe failure reason.
startCoreVector2IThe start grid position.
endCoreVector2IThe end grid position.
Properties
End
Gets the ending grid position for the attempted path.
public CoreVector2I End { get; }
Property Value
- CoreVector2I
Reason
Gets the reason the path calculation failed.
public string Reason { get; }
Property Value
Start
Gets the starting grid position for the attempted path.
public CoreVector2I Start { get; }
Property Value
- CoreVector2I