Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buttons[i].addListener(new ClickListener() {
- public void clicked(InputEvent event, float x, float y) {
- // What happens if we click "Rate"
- Assets.button_click.play(game.soundVolume);
- stage.addAction(Actions.sequence(Actions.fadeOut(SCREEN_FADE_TIME), Actions.run(new Runnable() {
- public void run() {
- Gdx.net.openURI(MY_URL);
- }
- })));
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement