Constants.hpp File Reference
#include <cstddef>

Go to the source code of this file.

Namespaces

 RosettaStone
 

Enumerations

enum  RosettaStone::PlayerType { RosettaStone::PlayerType::RANDOM, RosettaStone::PlayerType::PLAYER1, RosettaStone::PlayerType::PLAYER2 }
 Enumeration that represents the player. More...
 

Variables

constexpr float RosettaStone::VERSION = 0.3f
 Hearthstone++ version. More...
 
constexpr std::size_t RosettaStone::NUM_PLAYER_CLASS = 9
 
constexpr std::size_t RosettaStone::START_DECK_SIZE = 30
 The number of cards that can be stored in the deck at game start. More...
 
constexpr std::size_t RosettaStone::MAX_DECK_SIZE = 60
 The maximum number of cards that can be stored in the deck during game. More...
 
constexpr std::size_t RosettaStone::FIELD_SIZE = 7
 The maximum number of minions that can be placed in the field. More...
 
constexpr std::size_t RosettaStone::NUM_DRAW_CARDS_AT_START_FIRST = 3
 The number of cards that the player going first will be given. More...
 
constexpr std::size_t RosettaStone::NUM_DRAW_CARDS_AT_START_SECOND = 4
 The number of cards that the player going second will be given. More...
 
constexpr std::size_t RosettaStone::MANA_UPPER_LIMIT = 10
 The maximum number of available/maximum mana. More...
 
constexpr std::size_t RosettaStone::HAND_SIZE = 10
 The maximum number of cards in your hand. More...
 
constexpr std::size_t RosettaStone::INDEX_MY_HERO = 0
 The index of my hero for targeting when player is played card. More...
 
constexpr std::size_t RosettaStone::INDEX_MY_MINION = INDEX_MY_HERO + 1
 The index of my minion for targeting when player is played card. More...
 
constexpr std::size_t RosettaStone::INDEX_OPPONENT_HERO = INDEX_MY_MINION + FIELD_SIZE
 The index of opponent hero for targeting when player is played card. More...
 
constexpr std::size_t RosettaStone::INDEX_OPPONENT_MINION = INDEX_OPPONENT_HERO + 1
 The index of opponent minion for targeting when player is played card. More...
 
constexpr std::size_t RosettaStone::GAME_MAIN_MENU_SIZE = 3