Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ draw
Method
draw
PingPong/Slab.py:15–20 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
13
self.maxPos = maxPos
14
15
def
draw(self):
16
pygame.draw.rect(
17
self.win,
18
(255, 255, 255),
19
(self.pos[0], self.pos[1], self.size[0], self.size[1]),
20
)
21
22
def
getCoords(self):
23
return
[
Callers
2
on_draw
Method · 0.45
main.py
File · 0.45
Calls
1
rect
Method · 0.45
Tested by
no test coverage detected