diff options
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r-- | src/scenery.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp index 5fe2f043..7d2cb502 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -49,11 +49,6 @@ struct scenery final Vector2b offset, Vector2b bbox_offset, Vector2ub bbox_size); bool operator==(const scenery&) const noexcept; - - bool can_activate(const anim_atlas& anim) const noexcept; - bool activate(const anim_atlas& atlas); - void update(float dt, const anim_atlas& anim); - void rotate(rotation r); }; constexpr scenery::scenery() noexcept : scenery{scenery::none_tag_t{}} {} @@ -100,6 +95,11 @@ struct scenery_ref final { std::shared_ptr<anim_atlas>& atlas; scenery& frame; + bool can_activate() noexcept; + bool activate(); + void update(float dt); + void rotate(rotation r); + private: struct chunk* c; std::uint8_t idx; |