Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void rotate() {
  2. //      if (this.checkMove(1,1)){
  3. ////            double centerOfRotationX = _square1.getX();
  4. ////            double centerOfRotationY = _square1.getY();
  5. ////            _square1.setLocation(centerOfRotationX - centerOfRotationY + _square1.getY(), centerOfRotationX + centerOfRotationY - _square1.getX());
  6. ////            _square2.setLocation(centerOfRotationX - centerOfRotationY + _square2.getY(), centerOfRotationX + centerOfRotationY - _square2.getX());
  7. ////            _square3.setLocation(centerOfRotationX - centerOfRotationY + _square3.getY(), centerOfRotationX + centerOfRotationY - _square3.getX());
  8. ////            _square4.setLocation(centerOfRotationX - centerOfRotationY + _square4.getY(), centerOfRotationX + centerOfRotationY - _square4.getX());    
  9. //      }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement