MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

brickout-game/brickout-game.py:111–119  ·  view source on GitHub ↗
(self, screen, width, height, x, y)

Source from the content-addressed store, hash-verified

109
110class Paddle(object):
111 def __init__(self, screen, width, height, x, y):
112 self.__screen = screen
113 self._width = width
114 self._height = height
115 self._xLoc = x
116 self._yLoc = y
117 w, h = pygame.display.get_surface().get_size()
118 self.__W = w
119 self.__H = h
120
121 def draw(self):
122 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected