MCPcopy Index your code
hub / github.com/geekcomputers/Python / rect

Method rect

flappyBird_pygame/flappy_bird.py:67–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65
66 @property
67 def rect(self):
68 # return birds params
69 return Rect(self.x, self.y, Bird.WIDTH, Bird.HEIGHT)
70
71
72class PipePair(pygame.sprite.Sprite):

Callers 8

draw_cardsFunction · 0.45
drawMethod · 0.45
drawMethod · 0.45
draw_cubesMethod · 0.45
basic.pyFile · 0.45
drawMethod · 0.45
draw_buttonFunction · 0.45
draw_health_barFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected