Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sf::Vector2f BallTL, BallBR;
- sf::Vector2f PaddleTL, PaddleBR;
- BallTL = Ball.getPosition();
- BallBR.x = Ball.getPosition().x + Ball.getLocalBounds().width;
- BallBR.y = Ball.getPosition().y + Ball.getLocalBounds().height;
- PaddleTL = Paddle.getPosition();
- PaddleBR.x = Paddle.getPosition().x + Paddle.getLocalBounds().width;
- PaddleBR.y = Paddle.getPosition().y + Paddle.getLocalBounds().height;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement