public class TradingOfficeList extends Object implements Iterable<ITradingOffice>
| Modifier and Type | Field and Description |
|---|---|
private List<ITradingOffice> |
offices |
| Constructor and Description |
|---|
TradingOfficeList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(ITradingOffice iTradingOffice) |
List<ITradingOffice> |
findOwnedBy(IPlayer player)
Find all trading offices of a player.
|
Iterator<ITradingOffice> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprivate List<ITradingOffice> offices
public Iterator<ITradingOffice> iterator()
iterator in interface Iterable<ITradingOffice>public boolean add(ITradingOffice iTradingOffice)
public List<ITradingOffice> findOwnedBy(IPlayer player)
player - Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.