IPlacementOccupancySource

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public interface IPlacementOccupancySource

Summary

Provides the placement validation system with occupancy and bounds data.

Metadata

Namespace: GridPlacement.Core.Interfaces.Placement

Source File: cs/Core/Interfaces/Placement/IPlacementOccupancySource.cs

Assembly: GridPlacement.Core

Type: interface

Properties

SourceName

1
public abstract string SourceName { get; }

Gets a stable identifier describing the backing data source.


Methods

IsOccupied

1
bool IsOccupied(CoreVector2I position)

Determines whether the specified grid position is already occupied.

Parameters

NameDescription
positionThe grid position to inspect.

Returns

true when the position is occupied; otherwise false.


IsInBounds

1
bool IsInBounds(CoreVector2I position)

Determines whether the specified grid position is within valid bounds.

Parameters

NameDescription
positionThe grid position to inspect.

Returns

true when the position is in bounds; otherwise false.