diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-12 21:57:46 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-12 21:57:46 +1100 |
| commit | e4483eca01b48b943cd0461e24a74ae1a3139ed4 (patch) | |
| tree | ed58c3c246e3af1af337697695d780aa31f6ad9a /src/shared/entity/moveable.hh | |
| parent | 1cc08c51eb4b0f95c30c0a98ad1fc5ad3459b2df (diff) | |
Update to most recent version (old initial commit)
Diffstat (limited to 'src/shared/entity/moveable.hh')
| -rw-r--r-- | src/shared/entity/moveable.hh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/shared/entity/moveable.hh b/src/shared/entity/moveable.hh new file mode 100644 index 0000000..502bb39 --- /dev/null +++ b/src/shared/entity/moveable.hh @@ -0,0 +1,17 @@ +#ifndef SHARED_ENTITY_MOVEABLE_HH_ +#define SHARED_ENTITY_MOVEABLE_HH_ + +#include "shared/entity/animate.hh" +#include "shared/movement/struct.hh" + +namespace shared { + +// Moveable is an animate that provides an AABB. +class moveable : virtual public shared::animate { +public: + virtual const movement::aabb& get_aabb() const noexcept = 0; +}; + +} // namespace shared + +#endif |
