SHARE
TWEET

Untitled

a guest Sep 1st, 2014 242 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         stage.addListener(new InputListener(){
  2.             @Override
  3.             public boolean keyDown(InputEvent event, int keycode) {
  4.                 if(keycode == Input.Keys.BACK){
  5.                     do something
  6.                     return true;
  7.                 }
  8.                 else
  9.                     return false;
  10.             }
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