You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
454 B

  1. #pragma once
  2. #include "../game/Controller.h"
  3. #include <iostream>
  4. #include <string>
  5. class Player{
  6. private:
  7. std::string name;
  8. unsigned int points;
  9. unsigned int timesPlayed;
  10. public:
  11. Player();
  12. Player(std::string _name);
  13. ~Player();
  14. std::pair<std::string, unsigned int> play(void);
  15. //Point managment methods
  16. unsigned int getPoints(void);
  17. void addPoints(unsigned int _points);
  18. std::string getName(void);
  19. };