From 63f9ad8a836f27f29f668a0e543615c0baedd73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 12 May 2021 19:06:26 +0200 Subject: [PATCH] fix: arrows are now behind planets --- core/src/sagittarius/view/GameScreen.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/sagittarius/view/GameScreen.java b/core/src/sagittarius/view/GameScreen.java index 1da58eb..06d828e 100644 --- a/core/src/sagittarius/view/GameScreen.java +++ b/core/src/sagittarius/view/GameScreen.java @@ -50,6 +50,10 @@ public class GameScreen extends BaseScreen implements InputProcessor { Gdx.input.setInputProcessor(this); + // arrows + arrows = new Group(); + mainStage.addActor(arrows); + // planets & moons attractors = new Group(); @@ -81,10 +85,6 @@ public class GameScreen extends BaseScreen implements InputProcessor { mainStage.addActor(players); - // arrows - arrows = new Group(); - mainStage.addActor(arrows); - // The one and only Bow Bow bow = new Bow(true); mainStage.addActor(bow);