Uses of Class
ch.sahits.game.openpatrician.engine.player.ETradeReason
-
Packages that use ETradeReason Package Description ch.sahits.game.openpatrician.engine.player -
-
Uses of ETradeReason in ch.sahits.game.openpatrician.engine.player
Methods in ch.sahits.game.openpatrician.engine.player that return ETradeReason Modifier and Type Method Description static ETradeReason
ETradeReason. valueOf(java.lang.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.Methods in ch.sahits.game.openpatrician.engine.player that return types with arguments of type ETradeReason Modifier and Type Method Description (package private) com.google.common.collect.Multimap<IWare,ETradeReason>
TradeManagerService. collectTradeReasons(java.util.List<IWorkShop> workShops, ICity city)
static java.util.Comparator<ETradeReason>
ETradeReason. comparator()
(package private) java.util.Map<IWare,ETradeReason>
TradeManagerService. condense(com.google.common.collect.Multimap<IWare,ETradeReason> reasons)
Methods in ch.sahits.game.openpatrician.engine.player with parameters of type ETradeReason Modifier and Type Method Description (package private) int
TradeManagerService. calculateBuyAmount(IWare ware, ICity city, IAIPlayer player, ETradeReason tradeReason, java.util.List<IWorkShop> workShops)
(package private) int
TradeManagerService. calculateSellAmount(IWare ware, ICity city, IAIPlayer player, ETradeReason tradeReason, java.util.List<IWorkShop> workShops)
Calculate the amount of wares that should be retained, when selling.Method parameters in ch.sahits.game.openpatrician.engine.player with type arguments of type ETradeReason Modifier and Type Method Description (package private) java.util.Map<IWare,ETradeReason>
TradeManagerService. condense(com.google.common.collect.Multimap<IWare,ETradeReason> reasons)
private java.util.List<java.lang.Object[]>
TradeManagerService. determineLimits(java.util.Map<IWare,ETradeReason> definiteReasons, ICity city, IAIPlayer player, java.util.List<IWorkShop> workShops)
Determine the limits of wares to be bought
-