- #include "playerCard.h"
- PlayerCard::PlayerCard(std::string name){
- // make 12 boxes for each colored row (not the white ones)
- for(int j = 0; j<white1; j++){
- std::vector<bool> empty;
- rows.push_back(empty);
- for (int i = 0; i<CHECKBOXES; i++){
- rows[j].push_back(false);
- }
- }
- savedName = name;
- penaltyCount = 0;
- }
|