Added toString to PlayerBase

This commit is contained in:
Bokros Bálint 2016-04-25 19:14:54 +02:00
parent c577bb1471
commit c26b3ae75f

View File

@ -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() {
}