diff --git a/PingPong/Ball.py b/PingPong/Ball.py index ec1a4a6768f..73961fc07f2 100644 --- a/PingPong/Ball.py +++ b/PingPong/Ball.py @@ -21,6 +21,7 @@ def drawBall(self): def doHorizontalFlip(self): self.vel[0] *= -1 + print("Github") def doVerticalFlip(self): @@ -55,4 +56,4 @@ def checkSlabCollision(self, slabPos): # slab pos = [xmin, ymin, xmax, ymax] if self.pos[0] < slabPos[0] or self.pos[0] > slabPos[2]: self.vel[0] *= -1 if self.pos[1] < slabPos[1] or self.pos[1] > slabPos[3]: - self.vel[1] *= -1 \ No newline at end of file + self.vel[1] *= -1