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

Method draw

Flappy Bird - created with tkinter/Flappy Bird.py:50–55  ·  view source on GitHub ↗
(self, screen)

Source from the content-addressed store, hash-verified

48 self.x -= self.vel
49
50 def draw(self, screen):
51 screen.blit(self.image, (self.x, self.y))
52 screen.blit(
53 pygame.transform.flip(self.image, False, True),
54 (self.x, self.y - screen_height),
55 )
56
57
58def main():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected