mirror of
https://bitbucket.org/projectswg/holocore.git
synced 2026-10-05 22:13:00 -04:00
Added toString method to TravelPoint
This commit is contained in:
@@ -113,4 +113,8 @@ public final class TravelPoint implements Comparable<TravelPoint> {
|
||||
return name.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return String.format("TravelPoint[name=%s location=%s %s", name, location.getTerrain(), location.getPosition());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user