#ifndef FLAGS_H #define FLAGS_H #include "pixelGameEngine.h" using namespace olc; enum class Flag:int{ NONE, TEST_FLAG1, TEST_FLAG2, TEST_FLAG3, HAS_MAIN, HAS_NESS, HAS_PAULA, HAS_JEFF, HAS_ANNA, HAS_KING, HAS_POO, }; template auto toint(Enumeration const value) -> typename std::underlying_type::type { return static_cast::type>(value); } #endif