Ejemplo n.º 1
0
 def getValue(self):
     return FishGlobals.getValue(self.genus, self.species, self.weight)
Ejemplo n.º 2
0
 def getTokenValue(self):
     return int(
         FishGlobals.getValue(self.genus, self.species, self.weight) *
         FishGlobals.TokenFactor)
Ejemplo n.º 3
0
 def getValue(self):
     return FishGlobals.getValue(self.genus, self.species, self.weight)
Ejemplo n.º 4
0
 def getValue(self):
     """
     Returns the monetary value of this fish using a delicately balanced formula
     based on the fish species, rarity, and weight
     """
     return FishGlobals.getValue(self.genus, self.species, self.weight)