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

Method top_height_px

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

Source from the content-addressed store, hash-verified

115
116 @property
117 def top_height_px(self):
118 # returns top pipe's height in pix
119 return self.top_pieces * PipePair.PIECE_HEIGHT
120
121 @property
122 def bottom_height_px(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected