diff options
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index a0a6ed53..522ef8b6 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -51,8 +51,9 @@ struct entity virtual ~entity() noexcept; + static Vector2b ordinal_offset_for_type(entity_type type, Vector2b offset); std::int32_t ordinal() const; - static std::int32_t ordinal(local_coords xy, Vector2b offset); + static std::int32_t ordinal(local_coords xy, Vector2b offset, entity_type type); struct chunk& chunk() const; It iter() const; |