summaryrefslogtreecommitdiffhomepage
path: root/src/entity.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-10 14:11:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-05-11 00:33:47 +0200
commitf29ee994108bf443de4aeeabd7519f13ca4b7a4d (patch)
tree6f1ad0d719dcfcc5c5c199ce1d25c5531550835d /src/entity.hpp
parentaad0d8fd8e2d3409db1b591c6dbc401e02eaeef3 (diff)
wip virtual entity stuff
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index 183892d5..b49999e7 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -57,6 +57,7 @@ struct entity
float ordinal(local_coords xy, Vector2b offset, Vector2s z_offset) const;
struct chunk& chunk() const;
size_t index() const;
+ virtual bool is_virtual() const;
explicit operator entity_proto() const;