Optionalconfig: DestructibleTileConfigClear all tracked tiles
Damage a tile. Returns the new tile index to display, or null if no change. Returns -1 when destroyed (use destroyedTileIndex).
Check if a tile is registered as destructible
Register callback for tile damage
Register callback for tile destruction
Register a tile as destructible
Optionalhealth: numberRepair a tile
Set visual damage stages
Tracks health for destructible tiles and manages visual stage transitions. Works with TilemapManager for tile replacement on damage/destruction.
Usage: