Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PLAYER_H
- #define PLAYER_H
- class Player{
- public:
- Player();
- //Accessors
- int getgame_wins()const{return game_wins;};
- int getgame_losses()const{return game_losses;};
- int getmatch_wins()const{return match_wins;};
- int getmatch_losses()const{return match_losses;};
- //Modifiers
- void setgame_wins(int gw){game_wins=gw;};
- void setgame_losses(int gl){game_losses=gl;};
- void setmatch_wins(int mw){match_wins=mw;};
- void setmatch_losses(int ml){match_losses=ml;};
- private:
- int game_wins;
- int game_losses;
- int match_wins;
- int match_losses;
- };
- #include "Player.cpp"
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement