mwg API
    Preparing search index...

    Function startingArmy

    • Recruit/income economy layered on top of Tactics's board: a currency total plus a pool of banked unit templates waiting to be recalled onto the map. See recruit/bankUnit/ recall/armyIncome/applyUpkeep for the rest of the economy this state drives.

      Parameters

      • currency: number

      Returns ArmyState

      import { startingArmy } from '@datamoc/mw_games/board';

      console.log(startingArmy(100)); // { currency: 100, pool: [] }