Example #1
0
 def __init__(self,
              name,
              weight,
              color="stripe",
              short_term_memory_loss=True):
     Fish.__init__(self, name, weight, color)
     self.type = "clownfish"
     self.color = "stripe"
Example #2
0
 def __init__(self, ecosystem, location=None, isNewborn=False):
     Fish.__init__(self, ecosystem, 20, 10, location, isNewborn)
     self.survivalProbability = 1
     self.movementImpact = .75
Example #3
0
 def __init__(self, name, weight, color):
     Fish.__init__(self, name, weight, color)
Example #4
0
 def __init__(self, name, weight, color):
     Fish.__init__(self, name, weight, color)
     self.short_term_memory_loss = True