Commit a971df9e authored by Allen B. Doelue's avatar Allen B. Doelue

Player.cpp

parent 9df1e2b2
#include "Player.h"
#include <iostream>
using namespace std;
Player::Player(const std::string& username, unsigned rank)
{
_username = username;
_rank = rank;
}
void Player::displayName()
{
cout<<_username<<endl;
}
unsigned Player::getRank()
{
return _rank;
}
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