SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private ImageButton imageButton;
  2.  ....
  3.  imageButton.addListener(new ClickListener() {
  4.         public void clicked(InputEvent event, float x, float y){
  5.             System.out.println("FCK YEAH!");
  6.         }
  7.     });
  8.      
  9. private Some some;//наследуется от актера
  10. ....
  11. some.addListener(new ClickListener() {
  12.         public void clicked(InputEvent event, float x, float y){
  13.  
  14.             System.out.println("CLICKED!");
  15.             };
  16.         }
  17.     });
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