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

Method getCoords

PingPong/Slab.py:22–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 )
21
22 def getCoords(self):
23 return [
24 self.pos[0],
25 self.pos[1],
26 self.pos[0] + self.size[0],
27 self.pos[1] + self.size[1],
28 ]
29
30 def updatePos(self):
31 keys = pygame.key.get_pressed()

Callers 2

updatePosMethod · 0.95
main.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected