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

Method image

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

Source from the content-addressed store, hash-verified

49
50 @property
51 def image(self):
52 # to animate bird
53 if pygame.time.get_ticks() % 500 >= 250:
54 return self._img_wingup
55 else:
56 return self._img_wingdown
57
58 @property
59 def mask(self):

Callers 1

images.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected