From 6cd00aacfa22fed6a54a9b812f6b069ad16feec0 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 29 Jun 2025 22:24:42 +0500 Subject: Move game sources into src subdirectory --- src/game/shared/grounded.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/game/shared/grounded.hh (limited to 'src/game/shared/grounded.hh') diff --git a/src/game/shared/grounded.hh b/src/game/shared/grounded.hh new file mode 100644 index 0000000..869cca0 --- /dev/null +++ b/src/game/shared/grounded.hh @@ -0,0 +1,13 @@ +#ifndef SHARED_GROUNDED +#define SHARED_GROUNDED 1 +#pragma once + +#include "shared/voxel_registry.hh" + +// Assigned to entities which are grounded +// according to the collision and gravity system +struct GroundedComponent final { + voxel_surface surface; +}; + +#endif /* SHARED_GROUNDED */ -- cgit