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 {
|
public class Arrow extends BaseActor {
|
||||||
|
|
||||||
private static final float initTTL = 20;
|
public static final float initTTL = 20;
|
||||||
|
|
||||||
// ---------- ATTRIBUTEs ----------
|
// ---------- ATTRIBUTEs ----------
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,7 @@ public abstract class Entity {
|
||||||
throw new RuntimeException("Actor: " + context.substring(0, Math.min(context.length(), 128)), ex);
|
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);
|
table.setFillParent(true);
|
||||||
uiStage.addActor(table);
|
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
|
// quick Button
|
||||||
VisTextButton quickButton = new VisTextButton("Quick Game");
|
VisTextButton playButton = new VisTextButton("Play");
|
||||||
quickButton.addListener(new ActorGestureListener() {
|
playButton.addListener(new ActorGestureListener() {
|
||||||
@Override
|
@Override
|
||||||
public void tap(InputEvent event, float x, float y, int count, int button) {
|
public void tap(InputEvent event, float x, float y, int count, int button) {
|
||||||
super.tap(event, x, y, count, button);
|
super.tap(event, x, y, count, button);
|
||||||
|
@ -60,9 +51,7 @@ public class StartScreen extends BaseScreen {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Table structure
|
// Table structure
|
||||||
table.add(setupButton).width(150);
|
table.add(playButton).width(150);
|
||||||
table.row();
|
|
||||||
table.add(quickButton).width(150);
|
|
||||||
table.row();
|
table.row();
|
||||||
table.add(settingsButton).width(150);
|
table.add(settingsButton).width(150);
|
||||||
table.row();
|
table.row();
|
||||||
|
|
Loading…
Reference in a new issue