Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Multiplayer Lobby Simulator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Allen B. Doelue
Multiplayer Lobby Simulator
Commits
a971df9e
Commit
a971df9e
authored
Apr 28, 2020
by
Allen B. Doelue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Player.cpp
parent
9df1e2b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Player.cpp
Player.cpp
+19
-0
No files found.
Player.cpp
0 → 100644
View file @
a971df9e
#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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment