Skip to content

five-on-it / packages/ai/src/police-budget / setBudget

Function: setBudget() ​

setBudget(book, points): void

Defined in: packages/ai/src/police-budget.ts:169

Sets the budget's points outright (the debug command), within its bounds: the next step runs it dry, or refills it, as they say.

Parameters ​

book ​

BudgetBook

points ​

number

Returns ​

void