Interface IPlacementContext
- Namespace
- MoonBark.GridPlacement.Core.Interfaces
- Assembly
- MoonBark.GridPlacement.Core.dll
Core interface for placement context operations. Provides access to grid configuration without engine-specific dependencies. This interface is engine-agnostic and can be implemented by Godot, Unity, or other engine adapters.
public interface IPlacementContext
Properties
Catalog
Gets the runtime catalog for placeable definitions.
IPlaceableRuntimeCatalog Catalog { get; }
Property Value
GridConfiguration
Gets the configuration object dictating formal grid dimensions.
IGridConfiguration GridConfiguration { get; }
Property Value
InputBridge
Gets the input bridge for executing placement, selection, and demolition operations.
IPlacementInputBridge? InputBridge { get; }
Property Value
Logger
Gets the logger for diagnostic output.
IFrameworkLogger? Logger { get; }
Property Value
- IFrameworkLogger
ModeService
Gets the mode service for managing placement modes (place, move, demolish, etc.).
IModeService? ModeService { get; }
Property Value
PlacementView
Gets or sets the placement view for visualization.
IPlacementView? PlacementView { get; set; }
Property Value
TerrainProvider
Gets the terrain provider for environment-aware placement.
ITerrainProvider? TerrainProvider { get; }
Property Value
- ITerrainProvider
Methods
Dispose()
Disposes of resources and cleans up event subscriptions.
void Dispose()