Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #ifndef PLAYER_H
  2. #define PLAYER_H
  3.  
  4. class Player{
  5.  
  6. public:
  7. Player();
  8. //Accessors
  9. int getgame_wins()const{return game_wins;};
  10. int getgame_losses()const{return game_losses;};
  11. int getmatch_wins()const{return match_wins;};
  12. int getmatch_losses()const{return match_losses;};
  13. //Modifiers
  14. void setgame_wins(int gw){game_wins=gw;};
  15. void setgame_losses(int gl){game_losses=gl;};
  16. void setmatch_wins(int mw){match_wins=mw;};
  17. void setmatch_losses(int ml){match_losses=ml;};
  18. private:
  19. int game_wins;
  20. int game_losses;
  21. int match_wins;
  22. int match_losses;
  23. };
  24.  
  25. #include "Player.cpp"
  26. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement