MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / execute

Method execute

projects/Space Shooter/main.py:196–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194 exit()
195
196 def execute(self):
197 self.text(3)
198 while True:
199 for event in pygame.event.get():
200 if event.type == pygame.QUIT:
201 exit()
202 self.controls(event)
203 self.buttons_func(event)
204
205 self.objects()
206
207 pygame.display.flip()
208
209
210class Enemies:

Callers

nothing calls this directly

Calls 5

textMethod · 0.95
controlsMethod · 0.95
buttons_funcMethod · 0.95
objectsMethod · 0.95
exitFunction · 0.85

Tested by

no test coverage detected