Example #1
0
 def __init__(self):
     Sprite.__init__(self)
     self.copied_id = 42
     self.generated_id = next_global_id()
Example #2
0
 def __init__(self):
     Sprite.__init__(self)
     self.copied_id = 1
Example #3
0
 def __init__(self):
     Sprite.__init__(self)
     self.xs = [0] * 5
Example #4
0
 def __init__(self):
     Sprite.__init__(self)
     self.keys_pressed = ''
     self.go_to_xy(100, 50)
Example #5
0
 def __init__(self):
     Sprite.__init__(self)
     self.n_steps = 0
Example #6
0
 def __init__(self):
     Sprite.__init__(self)
     self.n_events = 0
Example #7
0
 def __init__(self):
     Sprite.__init__(self)
     self.n_clicks = 0
Example #8
0
 def __init__(self):
     Sprite.__init__(self)
     self.go_to_xy(10, -90)
Example #9
0
 def __init__(self):
     Sprite.__init__(self)
     self.go_to_xy(100, 50)
     self.switch_costume('ball')
     self.show()
     print('hello, world')
Example #10
0
 def __init__(self):
     Sprite.__init__(self)
     self.counter = 0
Example #11
0
 def __init__(self):
     Sprite.__init__(self)
     self.n_pings = 0
Example #12
0
 def __init__(self):
     Sprite.__init__(self)
     self.n_clone_reqs = 0
     self.is_the_original = 'yes'
     self.kept_running = 'no'
Example #13
0
 def __init__(self):
     Sprite.__init__(self)
     self.score = 0