diff --git a/frontend/core/src/com/gameware/game/sprites/pauseStateSprites/PauseBackgroundCircle.java b/frontend/core/src/com/gameware/game/sprites/pauseStateSprites/PauseCircle.java similarity index 96% rename from frontend/core/src/com/gameware/game/sprites/pauseStateSprites/PauseBackgroundCircle.java rename to frontend/core/src/com/gameware/game/sprites/pauseStateSprites/PauseCircle.java index a2a53677c5da2ceb1dc1d1b4b1f648041e9bdd80..44ab8d171d7d52d9c543d9809418b17214ffdb51 100644 --- a/frontend/core/src/com/gameware/game/sprites/pauseStateSprites/PauseBackgroundCircle.java +++ b/frontend/core/src/com/gameware/game/sprites/pauseStateSprites/PauseCircle.java @@ -9,12 +9,12 @@ import com.gameware.game.sprites.Sprite; // These are the animated circles that can be seen in the background of the pause state -public class PauseBackgroundCircle extends Sprite { +public class PauseCircle extends Sprite { private int radius; private Vector3 velocity; private ShapeRenderer sr; - public PauseBackgroundCircle(){ + public PauseCircle(){ this.position = new Vector3(); this.velocity = new Vector3(); diff --git a/frontend/core/src/com/gameware/game/states/PauseState.java b/frontend/core/src/com/gameware/game/states/PauseState.java index 0185014ef96e9db1add2c80063adaf38242a7a04..c72c818c4411e4846997f4c83874890cda7d98a8 100644 --- a/frontend/core/src/com/gameware/game/states/PauseState.java +++ b/frontend/core/src/com/gameware/game/states/PauseState.java @@ -7,7 +7,7 @@ import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.gameware.game.GameWare; import com.gameware.game.sprites.pauseStateSprites.ConfirmationBox; import com.gameware.game.sprites.LoadingText; -import com.gameware.game.sprites.pauseStateSprites.PauseBackgroundCircle; +import com.gameware.game.sprites.pauseStateSprites.PauseCircle; import com.gameware.game.sprites.pauseStateSprites.PauseMenuButton; import com.gameware.game.states.games.PlayStateUnion; @@ -42,7 +42,7 @@ public class PauseState extends State { private boolean needsConfirmation; // Widgets - private List<PauseBackgroundCircle> pauseBackgroundCircles; + private List<PauseCircle> pauseBackgroundCircles; private ConfirmationBox confirmationBox; private PauseMenuButton resumeButton; private PauseMenuButton exitButton; @@ -63,7 +63,7 @@ public class PauseState extends State { this.countdownDurationLeft = 3f; this.countdownStarted = false; - this.pauseBackgroundCircles = new ArrayList<PauseBackgroundCircle>(); + this.pauseBackgroundCircles = new ArrayList<PauseCircle>(); this.pausedGame = pausedGame; this.originalFontColor = new Color(this.pausedGame.getFontColor()); @@ -85,7 +85,7 @@ public class PauseState extends State { for(int i = 0; i<25; i++){ - this.pauseBackgroundCircles.add(new PauseBackgroundCircle()); + this.pauseBackgroundCircles.add(new PauseCircle()); } } @@ -157,7 +157,7 @@ public class PauseState extends State { } } - for(PauseBackgroundCircle pc : this.pauseBackgroundCircles){ + for(PauseCircle pc : this.pauseBackgroundCircles){ pc.update(dt); } } @@ -173,7 +173,7 @@ public class PauseState extends State { // Animated circles - for(PauseBackgroundCircle pc : pauseBackgroundCircles){ + for(PauseCircle pc : pauseBackgroundCircles){ pc.draw(sb); } @@ -213,7 +213,7 @@ public class PauseState extends State { @Override public void dispose() { - for(PauseBackgroundCircle pc : pauseBackgroundCircles){ + for(PauseCircle pc : pauseBackgroundCircles){ pc.dispose(); }