IPlaceableCollection
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
Summary
Interface for managing collections of placeable objects. Provides abstraction for placeable data management and operations.
Metadata
Namespace: GridPlacement.Core.Data
Source File: cs/Core/Interfaces/IPlaceableCollection.cs
Assembly: GridPlacement.Core
Type: interface
Properties
Placeables
Gets all placeables in the collection.
Count
Gets the count of placeables in the collection.
Methods
Add
Adds a placeable to the collection.
Parameters
| Name | Description |
|---|---|
placeable | The placeable to add |
Remove
Removes a placeable from the collection.
Parameters
| Name | Description |
|---|---|
placeable | The placeable to remove |
Returns
True if the placeable was removed, false if not found
Clear
Clears all placeables from the collection.
Contains
Checks if the collection contains a specific placeable.
Parameters
| Name | Description |
|---|---|
placeable | The placeable to check for |
Returns
True if the placeable is in the collection