def __init__(self, world=None): Animal.__init__(self, world) self.r = 5 self.heading = 0 self.pen = True self.color = "red" self.draw()
def __init__(self, world=None): Animal.__init__(self, world) # size and color self.size = 0.5 self.color1 = 'violet' self.color2 = 'medium orchid'
def __init__(self, world=None): Animal.__init__(self, world) self.r = 5 self.heading = 0 self.pen = True self.color = 'red' self.pen_color = 'blue' self.draw()
def __init__(self, world): Animal.__init__(self, world) self.dir = 0 self.draw()