nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
walking.h File Reference
#include "terrain/terrain.h"

Go to the source code of this file.

Namespaces

namespace  nanommo

Functions

void nanommo::Walk (const Terrain &terrain, float &x, float &z, float to_x, float to_z)
void nanommo::WalkAlong (const Terrain &terrain, float &x, float &z, float direction_x, float direction_z, bool run, float seconds)

Variables

constexpr float nanommo::kWalkSpeed = 1.8f
 In tiles a second. A tile is a metre, and walking is the walk clip's speed.
constexpr float nanommo::kRunSpeed = 3.1f