clean: remove debug print
This commit is contained in:
parent
94a4c4cdf8
commit
c8cb25b0fc
@ -180,9 +180,6 @@ def paddle_collision(ball: Ball, impact: Point, player: Player):
|
|||||||
rail_length: float = player.rail.length()
|
rail_length: float = player.rail.length()
|
||||||
paddle_length: float = rail_length * config.PADDLE_RATIO;
|
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_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))
|
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))
|
stop_x: float = paddle_center.x + (diff_x * (paddle_length / 2 / rail_length))
|
||||||
|
Loading…
Reference in New Issue
Block a user