Table of Contents

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

reason string

The failure reason.

start CoreVector2I

The start grid position.

end CoreVector2I

The 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

string

Start

Gets the starting grid position for the attempted path.

public CoreVector2I Start { get; }

Property Value

CoreVector2I