Interface IPlacementPreview
- Namespace
- MoonBark.GridPlacement.Core.Interfaces
- Assembly
- MoonBark.GridPlacement.Core.dll
Interface for placement preview events exposed to the Godot layer. Used by PlacementSceneAdapter to subscribe to preview events without depending on ECS types.
public interface IPlacementPreview
Events
PreviewRemoved
Event raised when a preview is removed (ghost deselected). Parameters: (entityId)
event Action<int>? PreviewRemoved
Event Type
PreviewUpdated
Event raised when a preview entity is created or updated. Parameters: (entityId, placeableHash, gridPosition, isValid)
event Action<int, int, CoreVector2I, bool>? PreviewUpdated