Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ doVerticalFlip
Method
doVerticalFlip
PingPong/Ball.py:22–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
20
print(
"Github"
)
21
22
def
doVerticalFlip(self):
23
self.vel[1] *= -1
24
25
def
borderCollisionCheck(self):
26
if
(self.pos[0] <= self.minCoord[0]) or (self.pos[0] >= self.maxCoord[0]):
Callers
1
borderCollisionCheck
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected