| Constructor | Description |
|---|---|
Shipyards() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(IShipyard shipyard,
ICity city) |
Add a shipyard in the city.
|
IShipyard |
getShipyard(ICity city) |
Retrieve the shipyard of the city.
|
java.util.Iterator<java.util.Map.Entry<ICity,IShipyard>> |
iterator() |
public void add(IShipyard shipyard, ICity city)
shipyard - to be addedcity - in which to add the shipyardpublic IShipyard getShipyard(ICity city)
city - for which to lookup the shipyardcityCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.