func makeAgent(id uint32, xVelocity, yVelocity int) agent.Agent { a := configurable.New(id) a.XVelocity = xVelocity a.YVelocity = yVelocity a.LogMove = true return a }
func main() { logflow.StdoutSink(".*") a := configurable.New(0) a.XVelocity = 1 agent.RunStandalone(os.Args[1], a) }