diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-10 13:20:04 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-10 13:20:04 +0200 |
commit | 2204f113710319ae6d735e3d511dd1d75d42a07d (patch) | |
tree | d21bb92cddf4c511239a773efc54f9aa94935b2b /src/entity.hpp | |
parent | 587d492a03275e95d518850d2e44949b73e1980e (diff) |
wip
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index 21628a19..29777c13 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -77,6 +77,7 @@ struct entity bool can_rotate(rotation new_r); bool can_move_to(Vector2i delta); size_t move_to(size_t& i, Vector2i delta, rotation new_r); + void move_to(Vector2i delta); protected: entity(object_id id, struct chunk& c, const entity_proto& proto); |