| Package | Description |
|---|---|
| ch.sahits.game.openpatrician.engine.player |
| Modifier and Type | Method and Description |
|---|---|
static ETradeReason |
ETradeReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETradeReason[] |
ETradeReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) com.google.common.collect.Multimap<ch.sahits.game.openpatrician.model.product.IWare,ETradeReason> |
TradeManagerService.collectTradeReasons(List<ch.sahits.game.openpatrician.model.building.IWorkShop> workShops,
ch.sahits.game.openpatrician.model.city.ICity city) |
static Comparator<ETradeReason> |
ETradeReason.comparator() |
(package private) Map<ch.sahits.game.openpatrician.model.product.IWare,ETradeReason> |
TradeManagerService.condense(com.google.common.collect.Multimap<ch.sahits.game.openpatrician.model.product.IWare,ETradeReason> reasons) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
TradeManagerService.calculateBuyAmount(ch.sahits.game.openpatrician.model.product.IWare ware,
ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.IAIPlayer player,
ETradeReason tradeReason,
List<ch.sahits.game.openpatrician.model.building.IWorkShop> workShops) |
(package private) int |
TradeManagerService.calculateSellAmount(ch.sahits.game.openpatrician.model.product.IWare ware,
ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.IAIPlayer player,
ETradeReason tradeReason,
List<ch.sahits.game.openpatrician.model.building.IWorkShop> workShops)
Calculate the amount of wares that should be retained, when selling.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Map<ch.sahits.game.openpatrician.model.product.IWare,ETradeReason> |
TradeManagerService.condense(com.google.common.collect.Multimap<ch.sahits.game.openpatrician.model.product.IWare,ETradeReason> reasons) |
private List<Object[]> |
TradeManagerService.determineLimits(Map<ch.sahits.game.openpatrician.model.product.IWare,ETradeReason> definiteReasons,
ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.IAIPlayer player,
List<ch.sahits.game.openpatrician.model.building.IWorkShop> workShops) |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.