MCPcopy
hub / github.com/geekcomputers/Python / fire_bullet

Function fire_bullet

python Space Invader game.py:87–90  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

85
86
87def fire_bullet(x, y):
88 global bullet_state
89 bullet_state = "fire"
90 screen.blit(bulletimg, (x + 16, y + 10))
91
92
93def iscollision(enemyx, enemyy, bulletx, bullety):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected