nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
wander.cc File Reference
#include "bot/wander.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <numbers>
#include <optional>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  nanommo

Functions

protocol::Input nanommo::RandomDirection (std::mt19937 &random)
std::chrono::milliseconds nanommo::RandomHold (std::mt19937 &random)
Place nanommo::RandomGate (std::mt19937 &random, int land)
 One of the land's gates, at random, as players go through each of them.
Trip nanommo::RandomTrip (std::mt19937 &random, const Place &gate)
std::optional< protocol::Input > nanommo::Travel (Trip &trip, float x, float z)
std::optional< protocol::Input > nanommo::StepOut (const MonsterTable &table, const protocol::World &world, float x, float z)