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.
24 lines
440 B
24 lines
440 B
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
#include "Controller.h"
|
|
|
|
class Player{
|
|
private:
|
|
std::string name;
|
|
unsigned int points;
|
|
unsigned int timesPlayed;
|
|
public:
|
|
Player();
|
|
Player(std::string _name);
|
|
~Player();
|
|
|
|
std::pair<std::string, unsigned int> play(void);
|
|
|
|
//Point managment methods
|
|
unsigned int getPoints(void);
|
|
void addPoints(unsigned int _points);
|
|
|
|
std::string getName(void);
|
|
};
|