SHARE
TWEET

Untitled

a guest Oct 13th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. move right(Player p){
  2.     if(ne nulis ir ne max){
  3.         p.posX += p.posX * p.speed;
  4.     } else {
  5.         return;
  6.     }
  7. }
  8. move left(Player p){
  9.     if(ne nulis ir ne max){
  10.         p.posX -= p.posX * p.speed;
  11.     } else {
  12.         return;
  13.     }
  14. }
  15. move right(Player p){
  16.     if(ne nulis ir ne max){
  17.         p.posY += p.posY * p.speed;
  18.     } else {
  19.         return;
  20.     }
  21. }
  22. move right(Player p){
  23.     if(ne nulis ir ne max){
  24.         p.posY -= p.posX * p.speed;
  25.     } else {
  26.     return;
  27.     }
  28.    
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top