Base interface for all ECS components.
Component for static or destructible walls/obstacles.
bool _destructible
Can this wall be destroyed?
bool isDestructible() const
Check if the wall is destructible.
Wall(bool destructible=false)
Constructor.
void setDestructible(bool destructible)
Set destructible state.
ComponentType getType() const override
Get the component type ID.
Maximum number of distinct component types supported by the Registry.
std::size_t ComponentType
Type alias for component identification.