Skip to content

DestructiblesOptions beta ​

Interface of @v12-engine/engine

ts
export interface DestructiblesOptions

What the destructibles pack is made with (destructiblesPack)

Members ​

destructible ​

ts
destructible?: (world: World, entity: Entity) => boolean;

Whether something is brought down by being attacked when told to, in code: its type's destructible when left out