1#ifndef NANOMMO_BOT_WANDER_H_
2#define NANOMMO_BOT_WANDER_H_
10#include "protocol/nanommo.pb.h"
17std::chrono::milliseconds
RandomHold(std::mt19937& random);
23 float closest = std::numeric_limits<float>::infinity();
39std::optional<protocol::Input>
Travel(
Trip& trip,
float x,
float z);
50 const protocol::World& world,
float x,
Trip RandomTrip(std::mt19937 &random, const Place &gate)
std::optional< protocol::Input > Travel(Trip &trip, float x, float z)
Place RandomGate(std::mt19937 &random, int land)
One of the land's gates, at random, as players go through each of them.
protocol::Input RandomDirection(std::mt19937 &random)
std::optional< protocol::Input > StepOut(const MonsterTable &table, const protocol::World &world, float x, float z)
std::chrono::milliseconds RandomHold(std::mt19937 &random)
The kinds of monster, by id, and where they spawn.
In metres from the middle of a land.
Somewhere a bot heads for, across the island.
float there
How close to the end counts as there, in metres.