Skip to content

engageWith beta ​

Function of @v12-engine/engine

ts
export declare function engageWith(world: World, attacker: Entity, target: Entity): void;

Marks the attacker engaged with the target, giving it a spot around it when it fights from close by (and has none there yet). The engine does this as a unit fights or closes in; a game's own fighting can too