diff options
-rw-r--r-- | core/src/ch/asynk/rustanddust/util/PlayerRecord.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/util/PlayerRecord.java b/core/src/ch/asynk/rustanddust/util/PlayerRecord.java index efd12de..3d51d43 100644 --- a/core/src/ch/asynk/rustanddust/util/PlayerRecord.java +++ b/core/src/ch/asynk/rustanddust/util/PlayerRecord.java @@ -78,6 +78,12 @@ public class PlayerRecord implements List.ListElement, Disposable, Pool.Poolable return s; } + @Override + public String toString() + { + return String.format("%s - %s", name , email); + } + public boolean hasEmail() { return (this.email != null && !this.email.isEmpty()); |