Table of Contents

Class OccupancyChangedEventArgs

Namespace
MoonBark.GridPlacement.Core.Interfaces.Events
Assembly
MoonBark.GridPlacement.Core.dll

Event args for occupancy changed events.

public class OccupancyChangedEventArgs : EventArgs
Inheritance
OccupancyChangedEventArgs
Inherited Members

Constructors

OccupancyChangedEventArgs(CoreVector2I, bool, IReadOnlyList<int>)

public OccupancyChangedEventArgs(CoreVector2I position, bool isOccupied, IReadOnlyList<int> entityIds)

Parameters

position CoreVector2I
isOccupied bool
entityIds IReadOnlyList<int>

Properties

EntityIds

public IReadOnlyList<int> EntityIds { get; }

Property Value

IReadOnlyList<int>

IsOccupied

public bool IsOccupied { get; }

Property Value

bool

Position

public CoreVector2I Position { get; }

Property Value

CoreVector2I