summaryrefslogtreecommitdiffstats
path: root/game/shared/entity/grounded.hh
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/entity/grounded.hh')
-rw-r--r--game/shared/entity/grounded.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/game/shared/entity/grounded.hh b/game/shared/entity/grounded.hh
new file mode 100644
index 0000000..22340db
--- /dev/null
+++ b/game/shared/entity/grounded.hh
@@ -0,0 +1,16 @@
+#ifndef SHARED_ENTITY_GROUNDED
+#define SHARED_ENTITY_GROUNDED 1
+#pragma once
+
+#include "shared/world/voxel_registry.hh"
+
+namespace entity
+{
+// Assigned to entities which are grounded
+// according to the collision and gravity system
+struct Grounded final {
+ world::voxel_surface surface;
+};
+} // namespace entity
+
+#endif // SHARED_ENTITY_GROUNDED