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

Method update

Flappy Bird - created with tkinter/Flappy Bird.py:47–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 self.vel = 5
46
47 def update(self):
48 self.x -= self.vel
49
50 def draw(self, screen):
51 screen.blit(self.image, (self.x, self.y))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected