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

Method draw

brickout-game/brickout-game.py:156–166  ·  view source on GitHub ↗

draws the brick onto screen. color: rgb(56, 177, 237)

(self)

Source from the content-addressed store, hash-verified

154 self.__isInGroup = False
155
156 def draw(self):
157 """
158 draws the brick onto screen.
159 color: rgb(56, 177, 237)
160 """
161 pygame.draw.rect(
162 screen,
163 (56, 177, 237),
164 (self._xLoc, self._yLoc, self._width, self._height),
165 0,
166 )
167
168 def add(self, group):
169 """

Callers

nothing calls this directly

Calls 1

rectMethod · 0.45

Tested by

no test coverage detected