MCPcopy Create free account
hub / github.com/ActiveState/code / Loop

Method Loop

recipes/Python/578808_Python_Game_of_Life/recipe-578808.py:166–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

164 self.screen.blit(pop, (650, 15))
165
166 def Loop(self):
167 # main game loop
168 self.eventLoop()
169
170 self.Tick()
171 self.Draw()
172 pygame.display.update()
173
174 def eventLoop(self):
175 # the main event loop, detects keypresses

Callers 1

__init__Method · 0.95

Calls 4

eventLoopMethod · 0.95
TickMethod · 0.95
DrawMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected