nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
wander.h File Reference
#include <chrono>
#include <limits>
#include <optional>
#include <random>
#include "content/monsters.h"
#include "protocol/nanommo.pb.h"
#include "terrain/lands.h"

Go to the source code of this file.

Classes

struct  nanommo::Trip
 Somewhere a bot heads for, across the island. More...

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)

Variables

constexpr float nanommo::kClear = 1.0f