Table of Contents

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

oldTarget CoreVector2I

The previous target position.

newTarget CoreVector2I

The new target position.

isActive bool

Whether targeting is active.

Properties

IsActive

Gets a value indicating whether targeting is currently active.

public bool IsActive { get; }

Property Value

bool

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