clean: remove debug print
This commit is contained in:
parent
0e4ce01e5b
commit
1625f5d69f
@ -180,9 +180,6 @@ def paddle_collision(ball: Ball, impact: Point, player: Player):
|
||||
rail_length: float = player.rail.length()
|
||||
paddle_length: float = rail_length * config.PADDLE_RATIO;
|
||||
|
||||
print(paddle_length)
|
||||
print(paddle_center)
|
||||
|
||||
start_x: float = paddle_center.x - (diff_x * (paddle_length / 2 / rail_length))
|
||||
start_y: float = paddle_center.y - (diff_y * (paddle_length / 2 / rail_length))
|
||||
stop_x: float = paddle_center.x + (diff_x * (paddle_length / 2 / rail_length))
|
||||
|
Loading…
Reference in New Issue
Block a user