throw away the old impl

This commit is contained in:
David Markowitz
2023-07-31 02:13:19 -07:00
parent 0d48cfe8c0
commit 3cf460cc52
9 changed files with 442 additions and 327 deletions

View File

@@ -4,13 +4,19 @@
#include <cstdint>
/**
* The different types of platform movement state, supposedly a bitmap
* The different types of platform movement state
*/
enum class eMovementPlatformState : uint32_t
{
Moving = 0b00010,
Stationary = 0b11001,
Stopped = 0b01100
Waiting = 1 << 0U,
Travelling = 1 << 1U,
Stopped = 1 << 2U,
ReachedDesiredWaypoint = 1 << 3U,
ReachedFinalWaypoint = 1 << 4U,
};
inline constexpr eMovementPlatformState operator|(eMovementPlatformState a, eMovementPlatformState b) {
return static_cast<eMovementPlatformState>(static_cast<uint32_t>(a) | static_cast<uint32_t>(b));
};
#endif //!__EMOVEMENTPLATFORMSTATE__H__