7#ifndef BABA_IS_AUTO_GAME_ENUMS_HPP
8#define BABA_IS_AUTO_GAME_ENUMS_HPP
17#include "NounType.def"
25#include "PropertyType.def"
29#include "IconType.def"
75 return (type == ObjectType::IS || type == ObjectType::HAS ||
76 type == ObjectType::MAKE);
102 const auto typeVal =
static_cast<int>(type);
110 const int convertedVal = typeVal - iconTypeVal;
119 const auto typeVal =
static_cast<int>(type);
127 const int convertedVal = typeVal + iconTypeVal;
constexpr bool IsTextType(ObjectType type)
Definition GameEnums.hpp:49
constexpr bool IsOpType(ObjectType type)
Definition GameEnums.hpp:65
constexpr bool IsVerbType(ObjectType type)
Definition GameEnums.hpp:73
ObjectType
An enumerator for identifying the object.
Definition GameEnums.hpp:14
constexpr bool IsPropertyType(ObjectType type)
Definition GameEnums.hpp:82
constexpr ObjectType ConvertIconToText(ObjectType type)
Definition GameEnums.hpp:100
constexpr ObjectType ConvertTextToIcon(ObjectType type)
Definition GameEnums.hpp:117
constexpr bool IsIconType(ObjectType type)
Definition GameEnums.hpp:92
PlayState
An enumerator for identifying the play state.
Definition GameEnums.hpp:133
constexpr bool IsNounType(ObjectType type)
Definition GameEnums.hpp:57
Direction
An enumerator for identifying the direction.
Definition GameEnums.hpp:142
constexpr bool IsLockedType(ObjectType type)
Definition GameEnums.hpp:40