Skip to content

package aidriver

import "kaijuengine.com/engine/aidriver"

Functions

Start

func Start(host *engine.Host)

Start brings up the localhost AI-driver control server for the given host and registers the per-frame command drain. It is invoked from the bootstrap layer only under the ai_driver build tag, on the game-loop thread. Failures (e.g. the port already being in use) are logged and leave the game running normally, just without a control surface.