Beispiel #1
0
 def __init__(self, world=None):
     Animal.__init__(self, world)
     self.r = 5
     self.heading = 0
     self.pen = True
     self.color = "red"
     self.draw()
Beispiel #2
0
    def __init__(self, world=None):
        Animal.__init__(self, world)

        # size and color
        self.size = 0.5
        self.color1 = 'violet'
        self.color2 = 'medium orchid'
Beispiel #3
0
    def __init__(self, world=None):
        Animal.__init__(self, world)

        # size and color
        self.size = 0.5
        self.color1 = 'violet'
        self.color2 = 'medium orchid'
Beispiel #4
0
 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=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()
 def __init__(self, world):
     Animal.__init__(self, world)
     self.dir = 0
     self.draw()