Skip to content

Commit

Permalink
Show help screen after game over
Browse files Browse the repository at this point in the history
  • Loading branch information
antionio committed Nov 30, 2013
1 parent 7d195aa commit 6a4e558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void renderScreen(float delta) {
public boolean keyDown(int keycode) {
if (keycode == Keys.Y) {
Assets.getGameSound(Assets.SOUND_MUSIC).loop(0.4f);
game.setScreen(new GameScreen(game));
game.setScreen(new HelpScreen(game, new GameScreen(game)));
} else if (keycode == Keys.N) {
game.setScreen(new MenuScreen(game));
}
Expand Down

0 comments on commit 6a4e558

Please sign in to comment.