baba-is-auto
C++17 Baba Is You simulator
Loading...
Searching...
No Matches
GameEnums.hpp File Reference
#include "NounType.def"
#include "OpType.def"
#include "PropertyType.def"
#include "IconType.def"

Go to the source code of this file.

Namespaces

namespace  baba_is_auto
 

Macros

#define X(a)   a,
 
#define X(a)   a,
 
#define X(a)   a,
 
#define X(a)   a,
 

Enumerations

enum class  baba_is_auto::ObjectType {
  baba_is_auto::NOUN_TYPE , baba_is_auto::X , baba_is_auto::OP_TYPE , baba_is_auto::X ,
  baba_is_auto::PROPERTY_TYPE , baba_is_auto::X , baba_is_auto::ICON_TYPE , baba_is_auto::X
}
 An enumerator for identifying the object. More...
 
enum class  baba_is_auto::PlayState { baba_is_auto::INVALID , baba_is_auto::PLAYING , baba_is_auto::WON , baba_is_auto::LOST }
 An enumerator for identifying the play state. More...
 
enum class  baba_is_auto::Direction {
  baba_is_auto::NONE , baba_is_auto::UP , baba_is_auto::DOWN , baba_is_auto::LEFT ,
  baba_is_auto::RIGHT
}
 An enumerator for identifying the direction. More...
 

Functions

constexpr bool baba_is_auto::IsTextType (ObjectType type)
 
constexpr bool baba_is_auto::IsNounType (ObjectType type)
 
constexpr bool baba_is_auto::IsOpType (ObjectType type)
 
constexpr bool baba_is_auto::IsVerbType (ObjectType type)
 
constexpr bool baba_is_auto::IsPropertyType (ObjectType type)
 
constexpr ObjectType baba_is_auto::ConvertIconToText (ObjectType type)
 
constexpr ObjectType baba_is_auto::ConvertTextToIcon (ObjectType type)
 

Macro Definition Documentation

◆ X [1/4]

#define X (   a)    a,

◆ X [2/4]

#define X (   a)    a,

◆ X [3/4]

#define X (   a)    a,

◆ X [4/4]

#define X (   a)    a,