Interface ITradable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBezierPriceCurvegetBuyCurve()Retrieve the bezier curve defining the buy prices.intgetMarketSaturationForBuying()Retrieve the amount of units which is considered infinite when buying.intgetMarketSaturationForSelling()Retrieve the amount of units which is considered infinite when selling.intgetMaxValueBuy()Retrieve the value that is maximal payed for one unit of this ware if no ware is available.intgetMaxValueSell()Retrieve the value that is to be maximally payed for one unit of this ware if no ware is available.intgetMinValueBuy()Retrieve the value of the minimal payed sum for on unit if an infinitly amount of the ware exists.intgetMinValueSell()Retrieve the value that has to be minimally payed sum for one unit if infinitly amount of wares exist.IBezierPriceCurvegetSellCurve()Retrieve the bezier curve defining the sell prices.java.lang.Stringname()As this interface is implemented by an enumeration add this method
-
-
-
Method Detail
-
getMaxValueBuy
int getMaxValueBuy()
Retrieve the value that is maximal payed for one unit of this ware if no ware is available.- Returns:
- maximum buy value
-
getMinValueBuy
int getMinValueBuy()
Retrieve the value of the minimal payed sum for on unit if an infinitly amount of the ware exists.- Returns:
- minimum buy value
-
getMinValueSell
int getMinValueSell()
Retrieve the value that has to be minimally payed sum for one unit if infinitly amount of wares exist.- Returns:
- minimum sell value
-
getMaxValueSell
int getMaxValueSell()
Retrieve the value that is to be maximally payed for one unit of this ware if no ware is available.- Returns:
- maximum sell value
-
getMarketSaturationForSelling
int getMarketSaturationForSelling()
Retrieve the amount of units which is considered infinite when selling. This influences the sell price because if there are so much units of the ware available the selling price will be the minimum.- Returns:
- amount of units.
-
getMarketSaturationForBuying
int getMarketSaturationForBuying()
Retrieve the amount of units which is considered infinite when buying. This influences the buy price because if there are that many units available the buy price does not change anymore.- Returns:
- amount of units.
-
name
java.lang.String name()
As this interface is implemented by an enumeration add this method- Returns:
- name of the tradable
-
getBuyCurve
IBezierPriceCurve getBuyCurve()
Retrieve the bezier curve defining the buy prices.- Returns:
- bezier curve for buy price calculation.
-
getSellCurve
IBezierPriceCurve getSellCurve()
Retrieve the bezier curve defining the sell prices.- Returns:
- bezier curve for sell price calculation
-
-