createBrainSystem beta
Function of @v12-engine/engine/ai
ts
export declare function createBrainSystem(world: World, playerId: PlayerId, brain: BrainDef, options?: AiOptions): ComputerSystem<Brain>;Seats a brain at a world as one of its players, asked to think as its definition or the options say (every), with the budget the options give. Add the result to the world, or go through world.computers.seat