Example #1
0
 def __init__(self):
   Object.__init__(self, ObjectBrain(self))
Example #2
0
 def __init__(self, brain, length):
   Object.__init__(self, brain)
   self.length = length
   
   if self.__class__.__name__ in Configuration.TERMITES_LIFETIMES:
     self.lifecycle_left = Configuration.TERMITES_LIFETIMES[self.__class__.__name__]