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

Method doHorizontalFlip

PingPong/Ball.py:18–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 pygame.draw.circle(self.win, (255,) * 3, self.pos, self.rad, 0)
17
18 def doHorizontalFlip(self):
19 self.vel[0] *= -1
20 print("Github")
21
22 def doVerticalFlip(self):
23 self.vel[1] *= -1

Callers 1

borderCollisionCheckMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected