A data model for the games. More...
Public Attributes | |
vector< datasplayer * > * | playersList |
The players List. | |
vector< string > * | playedCards |
The actual cards in the game. | |
vector< string > * | piocheCards |
The rest of the cards. | |
A data model for the games.
A game need a players list, the cards in the turns and the rest of the cards
Definition at line 96 of file cardgame.cpp.
vector<string>* datasgame::piocheCards |
The rest of the cards.
Definition at line 112 of file cardgame.cpp.
Referenced by CardGameTools::createGame(), CardGameTools::gameRules(), CardGameTools::getGame(), CardGameTools::playACard(), and CardGameTools::writeGame().
vector<string>* datasgame::playedCards |
The actual cards in the game.
Definition at line 107 of file cardgame.cpp.
Referenced by CardGameTools::createGame(), CardGameTools::drawCardInPlay(), CardGameTools::gameRules(), CardGameTools::getGame(), CardGameTools::IAPlay(), CardGameTools::playACard(), CardGameTools::testCard(), and CardGameTools::writeGame().
vector<datasplayer *>* datasgame::playersList |
The players List.
Definition at line 102 of file cardgame.cpp.
Referenced by CardGameTools::createGame(), CardGameTools::drawPlayers(), CardGameTools::gameRules(), CardGameTools::getGame(), CardGameTools::IAPlay(), CardGameTools::playACard(), CardGameTools::testCard(), CardGameTools::turnPlayers(), CardGameTools::writeGame(), and CardGameTools::writeWinner().