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

Method draw

brickout-game/brickout-game.py:59–63  ·  view source on GitHub ↗

draws the ball onto screen.

(self)

Source from the content-addressed store, hash-verified

57 return self.__yVel
58
59 def draw(self):
60 """
61 draws the ball onto screen.
62 """
63 pygame.draw.circle(screen, (255, 0, 0), (self._xLoc, self._yLoc), self._radius)
64
65 def update(self, paddle, brickwall):
66 """

Callers 2

drawMethod · 0.45
brickout-game.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected