Table of Contents

Interface IPlacementInputBridge

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

Defines the boundary for placement input operations. Exposes actions necessary for external systems (like Godot UIs or AI) to interact with the core ECS placement pipeline.

public interface IPlacementInputBridge : IDisposable
Inherited Members

Properties

IsDragActive

bool IsDragActive { get; }

Property Value

bool

Methods

CancelPlacement()

void CancelPlacement()

ClearSelectedPlaceable()

void ClearSelectedPlaceable()

ExecutePlacement()

bool ExecutePlacement()

Returns

bool

GetSelectedPlaceable()

Placeable? GetSelectedPlaceable()

Returns

Placeable

GetValidationResult()

ValidationComponent? GetValidationResult()

Returns

ValidationComponent?

IsDemolitionEnabled()

bool IsDemolitionEnabled()

Returns

bool

IsPlacementEnabled()

bool IsPlacementEnabled()

Returns

bool

SetDemolitionEnabled(bool)

void SetDemolitionEnabled(bool enabled)

Parameters

enabled bool

SetDragActive(bool)

void SetDragActive(bool active)

Parameters

active bool

SetPlacementEnabled(bool)

void SetPlacementEnabled(bool enabled)

Parameters

enabled bool

SetRuntimeCatalog(IPlaceableRuntimeCatalog)

void SetRuntimeCatalog(IPlaceableRuntimeCatalog catalog)

Parameters

catalog IPlaceableRuntimeCatalog

SetSelectedPlaceable(Placeable)

void SetSelectedPlaceable(Placeable placeable)

Parameters

placeable Placeable

UpdatePlacementPosition(CoreVector2I)

void UpdatePlacementPosition(CoreVector2I gridPosition)

Parameters

gridPosition CoreVector2I