Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. buttons[i].addListener(new ClickListener() {
  2. public void clicked(InputEvent event, float x, float y) {
  3. // What happens if we click "Rate"
  4. Assets.button_click.play(game.soundVolume);
  5. stage.addAction(Actions.sequence(Actions.fadeOut(SCREEN_FADE_TIME), Actions.run(new Runnable() {
  6. public void run() {
  7. Gdx.net.openURI(MY_URL);
  8. }
  9. })));
  10. }
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement