public class AIPlayerContext extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<BaseStrategyType<?>> |
generalStrategyTypes |
private com.google.common.collect.Multimap<ICity,ITradeStategyHint> |
hints |
| Constructor and Description |
|---|
AIPlayerContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BaseStrategyType<?> strategyType)
Add a new stategy type.
|
void |
add(ICity city,
ITradeStategyHint hint)
Add a new hint to a city.
|
List<BaseStrategyType<?>> |
getGeneralStrategyTypes() |
List<ITradeStategyHint> |
getHints(ICity city)
Retrieve all hints for the city.
|
private com.google.common.collect.Multimap<ICity,ITradeStategyHint> hints
private List<BaseStrategyType<?>> generalStrategyTypes
public void add(ICity city, ITradeStategyHint hint)
city - for which to add the hinthint - to be addedpublic List<ITradeStategyHint> getHints(ICity city)
city - for which to retrieve the hintspublic List<BaseStrategyType<?>> getGeneralStrategyTypes()
public void add(BaseStrategyType<?> strategyType)
strategyType - Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.