MCPcopy Create free account
hub / github.com/geekcomputers/Python / run

Method run

floodfill/floodfill.py:56–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 )
55
56 def run(self):
57 looping = True
58 while looping:
59 evsforturn = []
60 for ev in pygame.event.get():
61 if ev.type == pygame.QUIT:
62 looping = False
63 else:
64 evsforturn.append(ev) # TODO: Maybe extend with more events
65 self.update(evsforturn)
66 self.display.blit(self.surface, (0, 0))
67 pygame.display.flip()
68
69 pygame.quit()
70
71 def update(self, events):
72 for ev in events:

Callers 1

floodfill.pyFile · 0.45

Calls 3

updateMethod · 0.95
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected