Archived
0

print distance to the station in route and offer

This commit is contained in:
iMoHax
2015-01-21 13:19:49 +03:00
parent 2600d84e67
commit d43af2939e
2 changed files with 4 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ public interface Offer extends Comparable<Offer> {
}
default String toPString(){
return String.format("%.0f (%s - %s)", getPrice(), getVendor().getPlace().getName(), getVendor().getName());
return String.format("%.0f (%s - %s (%.0f Ls))", getPrice(), getVendor().getPlace().getName(), getVendor().getName(), getVendor().getDistance());
}
default String toIString(){