fix: moved G in SagittariusGame
This commit is contained in:
parent
26e3b5f9ad
commit
c70d2beace
|
@ -7,6 +7,9 @@ import sagittarius.view.GameScreen;
|
|||
|
||||
public class SagittariusGame extends Game {
|
||||
|
||||
// Constants
|
||||
public static final int G = 100;
|
||||
|
||||
private static SagittariusGame game;
|
||||
|
||||
public SagittariusGame() {
|
||||
|
|
|
@ -12,14 +12,14 @@ public class GameScreen extends BaseScreen {
|
|||
|
||||
// ---------- ATTRIBUTEs ----------
|
||||
|
||||
// Constants
|
||||
public static final int G = 100;
|
||||
|
||||
// Cursors
|
||||
public static Vector2 screenCursor;
|
||||
private static Vector3 unprojectedCursor;
|
||||
public static Vector2 worldCursor;
|
||||
|
||||
// planets = attractors for arrows
|
||||
public static Group planets; // TODO: move this in SagittariusGame ?
|
||||
|
||||
// ---------- METHODs ----------
|
||||
|
||||
@Override
|
||||
|
@ -28,8 +28,7 @@ public class GameScreen extends BaseScreen {
|
|||
mainStage.setDebugAll(true); // TODO: disable later
|
||||
|
||||
// planets
|
||||
|
||||
Group planets = new Group();
|
||||
planets = new Group();
|
||||
|
||||
Planet planet1 = new Planet(new Vector2(400, 400), 1000, 50, Color.BLUE);
|
||||
planets.addActor(planet1);
|
||||
|
|
Loading…
Reference in a new issue