fix: arrows are now behind planets
This commit is contained in:
parent
34aada744b
commit
63f9ad8a83
|
@ -50,6 +50,10 @@ public class GameScreen extends BaseScreen implements InputProcessor {
|
||||||
|
|
||||||
Gdx.input.setInputProcessor(this);
|
Gdx.input.setInputProcessor(this);
|
||||||
|
|
||||||
|
// arrows
|
||||||
|
arrows = new Group();
|
||||||
|
mainStage.addActor(arrows);
|
||||||
|
|
||||||
// planets & moons
|
// planets & moons
|
||||||
attractors = new Group();
|
attractors = new Group();
|
||||||
|
|
||||||
|
@ -81,10 +85,6 @@ public class GameScreen extends BaseScreen implements InputProcessor {
|
||||||
|
|
||||||
mainStage.addActor(players);
|
mainStage.addActor(players);
|
||||||
|
|
||||||
// arrows
|
|
||||||
arrows = new Group();
|
|
||||||
mainStage.addActor(arrows);
|
|
||||||
|
|
||||||
// The one and only Bow
|
// The one and only Bow
|
||||||
Bow bow = new Bow(true);
|
Bow bow = new Bow(true);
|
||||||
mainStage.addActor(bow);
|
mainStage.addActor(bow);
|
||||||
|
|
Loading…
Reference in a new issue