public class AIPlayerContext
extends java.lang.Object
| Constructor | Description |
|---|---|
AIPlayerContext() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(ICity city,
ITradeStategyHint hint) |
Add a new hint to a city.
|
void |
add(BaseStrategyType<?> strategyType) |
Add a new stategy type.
|
java.util.List<BaseStrategyType<?>> |
getGeneralStrategyTypes() |
|
java.util.List<ITradeStategyHint> |
getHints(ICity city) |
Retrieve all hints for the city.
|
public void add(ICity city, ITradeStategyHint hint)
city - for which to add the hinthint - to be addedpublic java.util.List<ITradeStategyHint> getHints(ICity city)
city - for which to retrieve the hintspublic java.util.List<BaseStrategyType<?>> getGeneralStrategyTypes()
public void add(BaseStrategyType<?> strategyType)
strategyType - type of the strategy to be addedCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.