destructiblesPack beta
Function of @v12-engine/engine
ts
export declare function destructiblesPack(options?: DestructiblesOptions): GamePack;Destructibles, as in classic RTS games: what is destructible (UnitTypeDef.destructible, a building of the neutral player placed on the map: rocks, a barricade, a gate to break down) stands in the way until it is brought down, and any unit whose attack reaches it attacks it when told to (the attack command), never of its own accord, as trees are felled by what fells them. A gate that opens and shuts is the map's (setGate); one that is broken down is a destructible