Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LI Qi
Bowling
Commits
49255c07
Commit
49255c07
authored
Feb 06, 2016
by
Qi LI
Browse files
put out player name as toString()
parent
0965f53c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/game/Player.java
View file @
49255c07
...
...
@@ -11,4 +11,9 @@ public class Player {
public
String
getName
()
{
return
this
.
name
;
}
@Override
public
String
toString
()
{
return
this
.
name
;
}
}
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