SHARE
TWEET

Untitled

a guest May 23rd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var Up = false;
  2. var Left = false;
  3. var Right = false;
  4. var Down = false;
  5.  
  6. function KD(event) {
  7.     switch (event.keyCode) {
  8.         case 37:{
  9.             break;
  10.         }
  11.         case 38:{
  12.             break;
  13.         }
  14.         case 39:{
  15.             break;
  16.         }
  17.         case 40:{
  18.             break;
  19.         }
  20.         default:{
  21.             break;
  22.         }
  23.     }
  24. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top