diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/object.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object.hpp b/src/object.hpp index 7b9ab019..ae930259 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -72,10 +72,10 @@ struct object virtual bool can_activate(size_t i) const; virtual bool activate(size_t i); virtual void update(size_t i, const Ns& dt) = 0; - virtual void rotate(size_t i, rotation r); - virtual bool can_rotate(global_coords coord, rotation new_r, rotation old_r, Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_size); - virtual bool can_move_to(Vector2i delta, global_coords coord, Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_aize); - virtual void set_bbox(Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_size, pass_mode pass); + void rotate(size_t i, rotation r); + bool can_rotate(global_coords coord, rotation new_r, rotation old_r, Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_size); + bool can_move_to(Vector2i delta, global_coords coord, Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_aize); + void set_bbox(Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_size, pass_mode pass); object_type type_of() const noexcept; static point normalize_coords(global_coords coord, Vector2b cur_offset, Vector2i delta); |