Example #1
0
 def getTankmanBerthPrice(self, berthsCount):
     """
     @param berthsCount: current barrack's berths count
     @return: (new berths pack price, pack berths count)
     """
     prices = self.berthsPrices
     goldCost = getNextBerthPackPrice(berthsCount, prices)
     return (Money(gold=goldCost), prices[1])
Example #2
0
 def getTankmanBerthPrice(self, berthsCount):
     prices = self.berthsPrices
     goldCost = getNextBerthPackPrice(berthsCount, prices)
     return (Money(gold=goldCost), prices[1])
 def getNextBerthPackPrice(self, berths, berthsPrices):
     return getNextBerthPackPrice(berths, berthsPrices)