Commit 9df1e2b2 authored by Allen B. Doelue's avatar Allen B. Doelue

Player.h file

parent 714d5006
//Player.h
#ifndef PLAYER_H
#define PLAYER_H
#include <iostream>
class Player
{
public:
Player(const std::string& username = "CPU", unsigned rank = 1);
void displayName(); // print name
unsigned getRank(); // returns rank
private:
//player info
std::string _username;
unsigned _rank;
};
#endif //PLAYER_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment