fix: minor changes
This commit is contained in:
parent
9b92364f12
commit
315f3c9eba
|
@ -11,7 +11,7 @@ import sagittarius.view.GameScreen;
|
|||
|
||||
public class Arrow extends BaseActor {
|
||||
|
||||
private static final float initTTL = 20;
|
||||
public static final float initTTL = 20;
|
||||
|
||||
// ---------- ATTRIBUTEs ----------
|
||||
|
||||
|
|
|
@ -177,7 +177,7 @@ public abstract class Entity {
|
|||
throw new RuntimeException("Actor: " + context.substring(0, Math.min(context.length(), 128)), ex);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -21,18 +21,9 @@ public class StartScreen extends BaseScreen {
|
|||
table.setFillParent(true);
|
||||
uiStage.addActor(table);
|
||||
|
||||
VisTextButton setupButton = new VisTextButton("Setup a game");
|
||||
setupButton.addListener(new ActorGestureListener() {
|
||||
@Override
|
||||
public void tap(InputEvent event, float x, float y, int count, int button) {
|
||||
super.tap(event, x, y, count, button);
|
||||
// TODO
|
||||
}
|
||||
});
|
||||
|
||||
// quick Button
|
||||
VisTextButton quickButton = new VisTextButton("Quick Game");
|
||||
quickButton.addListener(new ActorGestureListener() {
|
||||
VisTextButton playButton = new VisTextButton("Play");
|
||||
playButton.addListener(new ActorGestureListener() {
|
||||
@Override
|
||||
public void tap(InputEvent event, float x, float y, int count, int button) {
|
||||
super.tap(event, x, y, count, button);
|
||||
|
@ -60,9 +51,7 @@ public class StartScreen extends BaseScreen {
|
|||
});
|
||||
|
||||
// Table structure
|
||||
table.add(setupButton).width(150);
|
||||
table.row();
|
||||
table.add(quickButton).width(150);
|
||||
table.add(playButton).width(150);
|
||||
table.row();
|
||||
table.add(settingsButton).width(150);
|
||||
table.row();
|
||||
|
|
Loading…
Reference in a new issue