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
Methods
CancelPlacement()
void CancelPlacement()
ClearSelectedPlaceable()
void ClearSelectedPlaceable()
ExecutePlacement()
bool ExecutePlacement()
Returns
GetSelectedPlaceable()
Placeable? GetSelectedPlaceable()
Returns
GetValidationResult()
ValidationComponent? GetValidationResult()
Returns
IsDemolitionEnabled()
bool IsDemolitionEnabled()
Returns
IsPlacementEnabled()
bool IsPlacementEnabled()
Returns
SetDemolitionEnabled(bool)
void SetDemolitionEnabled(bool enabled)
Parameters
enabledbool
SetDragActive(bool)
void SetDragActive(bool active)
Parameters
activebool
SetPlacementEnabled(bool)
void SetPlacementEnabled(bool enabled)
Parameters
enabledbool
SetRuntimeCatalog(IPlaceableRuntimeCatalog)
void SetRuntimeCatalog(IPlaceableRuntimeCatalog catalog)
Parameters
catalogIPlaceableRuntimeCatalog
SetSelectedPlaceable(Placeable)
void SetSelectedPlaceable(Placeable placeable)
Parameters
placeablePlaceable
UpdatePlacementPosition(CoreVector2I)
void UpdatePlacementPosition(CoreVector2I gridPosition)
Parameters
gridPositionCoreVector2I