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

Method draw

brickout-game/brickout-game.py:250–256  ·  view source on GitHub ↗

draws all bricks onto screen.

(self)

Source from the content-addressed store, hash-verified

248 self._bricks.remove(brick)
249
250 def draw(self):
251 """
252 draws all bricks onto screen.
253 """
254 for brick in self._bricks:
255 if brick != None:
256 brick.draw()
257
258 def update(self, ball):
259 """

Callers

nothing calls this directly

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected