Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. if(canMoveDown || canMoveUp){
  2.             if(canMoveDown){
  3.                 if(!canMoveUp)
  4.                     stopVert();
  5.                 accelerateDown();
  6.             }
  7.             else{
  8.                 stopVert();
  9.                 if(canMoveUp){
  10.                     if(movingUp)
  11.                         yVel -= 256 * 5;
  12.                 }
  13.                 else
  14.                     stopVert();
  15.             }
  16.         }
  17.         else
  18.             stopVert();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement