Advertisement
Guest User

Untitled

a guest
Aug 13th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pic 16 0.74 KB | None | 0 0
  1.         countDownLabel = new Label(String.format("%02d", worldTimer), new Label.LabelStyle(new BitmapFont(), Color.WHITE));
  2.         scoreLabel = new Label(String.format("%d", score), new Label.LabelStyle(new BitmapFont(), Color.WHITE));
  3.         timeText = new Label("TIME", new Label.LabelStyle(new BitmapFont(), Color.WHITE));
  4.         scoreText = new Label("SCORE", new Label.LabelStyle(new BitmapFont(), Color.WHITE));
  5.  
  6.         // top row
  7.         table.add(scoreText).expandX().padTop(10);
  8.         table.add(timeText).expandX().padTop(10);
  9.         // new row
  10.         table.row();
  11.         table.add(scoreLabel).expandX();
  12.         table.add(countDownLabel).expandX();
  13.  
  14.         // add the table to the stage
  15.         stage.addActor(table);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement