Skip to content

Commit

Permalink
Add time mode button
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Feb 5, 2017
1 parent 6dd3861 commit 206b939
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
Binary file added android/assets/ui/stopwatch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion core/src/io/github/lonamiwebs/klooni/Klooni.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void create() {

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")));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ public void changed(ChangeEvent event, Actor actor) {
});
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) {
Expand Down
36 changes: 32 additions & 4 deletions original-resources/buttons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 206b939

Please sign in to comment.