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