playerCard.cpp 375 B

12345678910111213
  1. #include "playerCard.h"
  2. PlayerCard::PlayerCard(std::string name){
  3. // make 12 boxes for each colored row (not the white ones)
  4. for(int j = 0; j<white1; j++){
  5. std::vector<bool> empty;
  6. rows.push_back(empty);
  7. for (int i = 0; i<CHECKBOXES; i++){
  8. rows[j].push_back(false);
  9. }
  10. }
  11. savedName = name;
  12. penaltyCount = 0;
  13. }