Skip to content

Commit

Permalink
Team 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Moksh-Mehta7 committed Oct 15, 2023
1 parent fd986c1 commit 826721a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void show() {

Skin skin = new Skin(Gdx.files.internal("images/ui/buttons/glass.json"));
exitButton = new TextButton("Exit Game", skin);
exitButton.addListener(new ClickListener(){
exitButton.addListener(new ClickListener() {
public void clicked(InputEvent even, float x, float y) {
game.exit();
}
Expand Down Expand Up @@ -111,5 +111,7 @@ public void dispose() {
batch.dispose();
introImage.dispose();
stage.dispose();

}

}

0 comments on commit 826721a

Please sign in to comment.