Class TargetingStateChangedEventArgs
- Namespace
- MoonBark.GridPlacement.Core.Services.Targeting
- Assembly
- MoonBark.GridPlacement.Core.dll
Event arguments for targeting state changes.
public class TargetingStateChangedEventArgs : EventArgs
- Inheritance
-
TargetingStateChangedEventArgs
- Inherited Members
Constructors
TargetingStateChangedEventArgs(CoreVector2I, CoreVector2I, bool)
Initializes a new instance of the TargetingStateChangedEventArgs class.
public TargetingStateChangedEventArgs(CoreVector2I oldTarget, CoreVector2I newTarget, bool isActive)
Parameters
oldTargetCoreVector2IThe previous target position.
newTargetCoreVector2IThe new target position.
isActiveboolWhether targeting is active.
Properties
IsActive
Gets a value indicating whether targeting is currently active.
public bool IsActive { get; }
Property Value
NewTarget
Gets the new target position.
public CoreVector2I NewTarget { get; }
Property Value
- CoreVector2I
OldTarget
Gets the previous target position.
public CoreVector2I OldTarget { get; }
Property Value
- CoreVector2I