Demo UI fixes and launch options
This commit is contained in:
parent
37175e0fee
commit
45879c1992
6 changed files with 125 additions and 64 deletions
|
|
@ -3,6 +3,7 @@ package love.distributedrebirth.demo4d.screen;
|
|||
import com.badlogic.gdx.Screen;
|
||||
|
||||
import love.distributedrebirth.demo4d.Demo4DMain;
|
||||
import love.distributedrebirth.demo4d.music.MusicSongType;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -61,4 +62,14 @@ public class ScreenHelp extends ScrollScreenAdapter {
|
|||
protected Class<? extends Screen> getNextScreen(Demo4DMain main) {
|
||||
return ScreenDefault.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void show () {
|
||||
main.music.play(MusicSongType.INTRO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hide () {
|
||||
main.music.play(MusicSongType.BACKGROUND);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue