diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 23:17:02 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 23:17:02 +0200 |
commit | 545b0a1e0870aaf5032d8b2b96dcfc13ae97126f (patch) | |
tree | 11ab528d70030e3b89a6b84b09de7ff202c83b28 /src/game/game.hpp | |
parent | f274f281da32c829e20c5012d67431d6a4348cce (diff) |
Misc. gameplay improvements.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 3 |
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; |