Added toString to PlayerBase
This commit is contained in:
parent
c577bb1471
commit
c26b3ae75f
@ -12,6 +12,10 @@ public class PlayerBase implements Destroyable {
|
||||
facingDirection = startDirection;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s: %s", name, currentTile);
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user