Class TradeRoute
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.map.impl.TradeRoute
-
- All Implemented Interfaces:
ITradeRoute
public class TradeRoute extends java.lang.Object implements ITradeRoute
Implementation of theITradeRoute
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<ITradeRouteStop>
tradeStops
-
Constructor Summary
Constructors Constructor Description TradeRoute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTradeStop(ITradeRouteStop tradeStop)
Add a new trade stop to the route.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.model.map.ITradeRoute
getTradeStops
-
-
-
-
Field Detail
-
tradeStops
private java.util.Set<ITradeRouteStop> tradeStops
-
-
Method Detail
-
addTradeStop
public void addTradeStop(ITradeRouteStop tradeStop)
Add a new trade stop to the route.- Parameters:
tradeStop
- to be added
-
-