diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-03 09:15:53 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-03 09:15:53 +0200 |
commit | 350426130bd412ba2a4858b86195b881a8bf4852 (patch) | |
tree | e2185c515b88898f98a18a6aca067612088e35df /core/src/ch/asynk/tankontank/screens | |
parent | 6809c19db45d5cdb40ce28c52a8a86d94f890473 (diff) | |
download | RustAndDust-350426130bd412ba2a4858b86195b881a8bf4852.zip RustAndDust-350426130bd412ba2a4858b86195b881a8bf4852.tar.gz |
Board.Orientation -> Orientation
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index 73734ca..2b04ea2 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -32,8 +32,9 @@ import ch.asynk.tankontank.game.GameCtrl; import ch.asynk.tankontank.game.GameFactory; import ch.asynk.tankontank.game.GameFactory.UnitType; // TEST -import ch.asynk.tankontank.engine.Board; import ch.asynk.tankontank.engine.Pawn; +import ch.asynk.tankontank.engine.Board; +import ch.asynk.tankontank.engine.Orientation; public class GameScreen implements Screen { @@ -90,7 +91,7 @@ public class GameScreen implements Screen debugShapes = new ShapeRenderer(); // TEST - Board.Orientation o = Board.Orientation.NORTH; + Orientation o = Orientation.NORTH; addUnit(4, 7, o, UnitType.GE_AT_GUN); addUnit(3, 6, o, UnitType.GE_INFANTRY); addUnit(3, 5, o, UnitType.GE_KINGTIGER); @@ -99,7 +100,7 @@ public class GameScreen implements Screen addUnit(1, 2, o, UnitType.GE_TIGER); addUnit(1, 1, o, UnitType.GE_WESPE); - o = Board.Orientation.SOUTH; + o = Orientation.SOUTH; addUnit(12, 7, o, UnitType.US_AT_GUN); addUnit(11, 6, o, UnitType.US_INFANTRY); addUnit(11, 5, o, UnitType.US_PERSHING); @@ -113,7 +114,7 @@ public class GameScreen implements Screen Gdx.input.setInputProcessor(getMultiplexer()); } - private void addUnit(int col, int row, Board.Orientation o, UnitType t) + private void addUnit(int col, int row, Orientation o, UnitType t) { Pawn p = factory.getUnit(t); map.setPawnAt(p, col, row, o); |