Package ch.sahits.game.openpatrician.model.product
-
Interface Summary Interface Description IBezierPriceCurve Definition of the price curve as a bezier curve.IBlockadeMission The special blockade mission indicates that the vessel is selected to join a blockade.IPriceCalculation This interface defines the price calculation algorithm.IPriceCalculationV2 This interface defines the price calculation algorithm.ISpecialMission A special mission is a mission that interupts the normal trade mission.ITradable Interface for a tradable good that can have a price that is calculated.ITradeMissionData Container to hold strategy specific mission data.ITradeStep Base interface for the trade steps that define how the trade strategy works.IWare Interface defining a ware. -
Class Summary Class Description AmountablePrice<T extends IAmountable> This class defines the amounted price of anIWare
object.AmountablePriceDouble This amountable keeps track of the amounts in a more detailed fashion thanAmountablePrice
.BasePriceCalulation BezierPriceCalculation Price calculation if the curve is defined by a start and end point and two control points, defining the curve as a bezier curve.BezierPriceCurve ComputablePriceV2 Ecapsulate the price computation.LinearPriceCalculation The most simple form of the price calculation algorithm.ProductionChain Model for the production chain.SimplePriceCalculation This is a very simple implementation of the price calculation algorithm. -
Enum Summary Enum Description ETransferAmount Enumeration over the transferable amountEWare Define the different type of wares that are produced and can be traded.EWareSize Measurement applied to wares.