summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 321fc0c..4773f9c 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -197,11 +197,14 @@ namespace game {
float next_attempt;
v2f_t last_step;
+
+ ntime_t random_walk_time = 0;
} move;
bool keep_moving(double speed);
bool start_moving(v2f_t dst);
void stop_moving(void);
+ void random_walk(void);
bool dead = false;
double death_time = -INFINITY;