Skip to content

FriendlyFireOptions beta ​

Interface of @v12-engine/engine

ts
export interface FriendlyFireOptions

What the friendly fire pack is made with (friendlyFirePack)

Members ​

attacks ​

ts
attacks?: (world: World, attacker: Entity, target: Entity) => boolean;

What of its own side's, and its allies', a unit may be told to attack: anything its attack reaches when left out