Beispiel #1
0
 def __init__(self):
     Component.__init__(self, 0)
Beispiel #2
0
 def __init__(self, weather):
     Component.__init__(self, None)
     self.weather_changing(weather)
Beispiel #3
0
 def __init__(self, at):
     Component.__init__(self, at)
     self.die_at = at
Beispiel #4
0
 def __init__(self, fertility=1):
     Component.__init__(self, fertility)
     self.fertility = fertility
     self.time_of_incubation = 0