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

Method draw

brickout-game/brickout-game.py:121–127  ·  view source on GitHub ↗

draws the paddle onto screen.

(self)

Source from the content-addressed store, hash-verified

119 self.__H = h
120
121 def draw(self):
122 """
123 draws the paddle onto screen.
124 """
125 pygame.draw.rect(
126 screen, (0, 0, 0), (self._xLoc, self._yLoc, self._width, self._height), 0
127 )
128
129 def update(self):
130 """

Callers

nothing calls this directly

Calls 1

rectMethod · 0.45

Tested by

no test coverage detected