summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-19 16:18:13 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-19 16:18:13 +0100
commit86bd6a4411badecfc76fe3a9d29b4aa30c8fdba7 (patch)
tree468c23d67bab654f98126c1fa7ab58e9043b3f6a /src/scenery.hpp
parentf1da751349fb52a8a88b10bc3289288a4fcd2396 (diff)
work on entity reodering
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r--src/scenery.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp
index b52ddded..b21a416e 100644
--- a/src/scenery.hpp
+++ b/src/scenery.hpp
@@ -41,7 +41,8 @@ struct scenery final : entity
unsigned char closing : 1 = false;
unsigned char interactive : 1 = false;
- bool update(size_t i, float dt) override;
+ entity_update_status update(size_t i, float dt) override;
+ Vector2 ordinal_offset(Vector2b offset) const override;
bool can_activate(size_t i) const override;
bool activate(size_t i) override;