1#ifndef NANOMMO_SERVER_WALKING_H_
2#define NANOMMO_SERVER_WALKING_H_
14void Walk(
const Terrain& terrain,
float& x,
float& z,
float to_x,
float to_z);
22 float direction_z,
bool run,
float seconds);
constexpr float kWalkSpeed
In tiles a second. A tile is a metre, and walking is the walk clip's speed.
constexpr float kRunSpeed
void Walk(const Terrain &terrain, float &x, float &z, float to_x, float to_z)
void WalkAlong(const Terrain &terrain, float &x, float &z, float direction_x, float direction_z, bool run, float seconds)