five-on-it / packages/ai/src/police-endgame / budgetSystem
Function: budgetSystem()
budgetSystem(
ai,crimes,actors):void
Defined in: packages/ai/src/police-endgame.ts:70
The endgame's tick after the units were sent: the budget pays for the actors put out and is drained by the crimes against the police; each player's pressure and the headlines of their stars; a unit destroyed, the budget run dry or refilled make the news.
Parameters
ai
crimes
readonly Crime[]
actors
number
Returns
void