Commit 49255c07 authored by Qi LI's avatar Qi LI
Browse files

put out player name as toString()

parent 0965f53c
......@@ -11,4 +11,9 @@ public class Player {
public String getName() {
return this.name;
}
@Override
public String toString() {
return this.name;
}
}
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