Add time mode button
This commit is contained in:
parent
6dd3861f0e
commit
206b93968f
4 changed files with 35 additions and 8 deletions
|
@ -38,7 +38,7 @@ public class Klooni extends Game {
|
|||
|
||||
skin.add("play_texture", new Texture(Gdx.files.internal("ui/play.png")));
|
||||
skin.add("star_texture", new Texture(Gdx.files.internal("ui/star.png")));
|
||||
skin.add("stats_texture", new Texture(Gdx.files.internal("ui/stats.png")));
|
||||
skin.add("stopwatch_texture", new Texture(Gdx.files.internal("ui/stopwatch.png")));
|
||||
skin.add("palette_texture", new Texture(Gdx.files.internal("ui/palette.png")));
|
||||
skin.add("home_texture", new Texture(Gdx.files.internal("ui/home.png")));
|
||||
skin.add("replay_texture", new Texture(Gdx.files.internal("ui/replay.png")));
|
||||
|
|
|
@ -64,9 +64,8 @@ public class MainMenuScreen extends InputListener implements Screen {
|
|||
});
|
||||
table.add(starButton).space(16);
|
||||
|
||||
// Stats button (high scores)
|
||||
final SoftButton statsButton = new SoftButton(2, "stats_texture");
|
||||
// TODO For testing purposes, open the time mode
|
||||
// Time mode
|
||||
final SoftButton statsButton = new SoftButton(2, "stopwatch_texture");
|
||||
statsButton.addListener(new ChangeListener() {
|
||||
@Override
|
||||
public void changed(ChangeEvent event, Actor actor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue