MCPcopy Create free account
hub / github.com/WarFrontIO/client / constructor

Method constructor

src/game/attack/AttackExecutor.ts:38–46  ·  view source on GitHub ↗

* Create a new attack executor. * @param player The player that is attacking. * @param target The player that is being attacked, or null if the target is unclaimed territory. * @param troops The amount of troops that are attacking. * @param borderTiles The tiles from which the attack is exec

(player: Player, target: Player | null, troops: number, borderTiles: Set<number> | null = null)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

orderTilesMethod · 0.95
calculateSpeedFactorMethod · 0.95

Tested by

no test coverage detected