-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlayer.hpp
35 lines (27 loc) · 794 Bytes
/
Player.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*********************************************************************
** Author: Jordan Hamilton
** Date: 02/14/2018
** Description: Specification file for the Player class.
*********************************************************************/
#ifndef PLAYER_HPP
#define PLAYER_HPP
#include <string>
class Player {
private:
std::string playerName;
int playerPoints;
int playerRebounds;
int playerAssists;
public:
Player();
Player(std::string nameIn, int pointsIn, int reboundsIn, int assistsIn);
std::string getName();
void setPoints(int pointsIn);
int getPoints();
void setRebounds(int reboundsIn);
int getRebounds();
void setAssists(int assistsIn);
int getAssists();
bool hasMorePointsThan(Player otherGuy);
};
#endif