clik-engine API
    Preparing search index...

    Interface DestructibleTileConfig

    interface DestructibleTileConfig {
        destroyedTileIndex?: number;
        maxHealth?: number;
        stages?: { threshold: number; tileIndex: number }[];
    }
    Index

    Properties

    destroyedTileIndex?: number

    Tile index to replace with when destroyed (e.g., empty/rubble)

    maxHealth?: number

    Max health for destructible tiles

    stages?: { threshold: number; tileIndex: number }[]

    Visual stages as health decreases. Thresholds are health ratios (0-1).