five-on-it / packages/ai/src/police-tech-division / techDivisionSystem
Function: techDivisionSystem()
techDivisionSystem(
ai,players,order,room):void
Defined in: packages/ai/src/police-tech-division.ts:193
One tick of the tech division (see the module documentation): what an EMP, water, a blast or a shot did to the robots and the hacks; the tactics announced that are due; the kill switches; the swarms; the robots and their claws; then, for each player whose stars ask for more, the next tactic announced, while the room has the actors for it (room).
Parameters
ai
players
ReadonlyMap<number, number>
order
readonly Wanted[]
room
() => number
Returns
void