Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. sf::Vector2f BallTL, BallBR;
  2. sf::Vector2f PaddleTL, PaddleBR;
  3.  
  4. BallTL = Ball.getPosition();
  5. BallBR.x = Ball.getPosition().x + Ball.getLocalBounds().width;
  6. BallBR.y = Ball.getPosition().y + Ball.getLocalBounds().height;
  7.  
  8. PaddleTL = Paddle.getPosition();
  9. PaddleBR.x = Paddle.getPosition().x + Paddle.getLocalBounds().width;
  10. PaddleBR.y = Paddle.getPosition().y + Paddle.getLocalBounds().height;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement