diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-18 16:45:37 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-18 16:45:37 +0200 |
commit | 127dd3f7518ada1598adc176585ee7151d4ba7be (patch) | |
tree | 75f8fa0b5a5c07cfcfbc51b361934dc21d201a13 /core/src/ch/asynk/tankontank/screens | |
parent | 3f72675a5048dd9b47e8cef80fd07ed5e4aeaa10 (diff) | |
download | RustAndDust-127dd3f7518ada1598adc176585ee7151d4ba7be.zip RustAndDust-127dd3f7518ada1598adc176585ee7151d4ba7be.tar.gz |
Tile.Orientation -> Pawn.Orientation
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index 765fae2..72a558e 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -85,7 +85,7 @@ public class GameScreen implements Screen gameStage.addActor(selectedHex); - Tile.Orientation o = Tile.Orientation.SOUTH_EAST; + Pawn.Orientation o = Pawn.Orientation.SOUTH_EAST; addUnit(gameStage, UnitType.GE_AT_GUN, 1, 4, o); addUnit(gameStage, UnitType.GE_INFANTRY, 2, 4, o); addUnit(gameStage, UnitType.GE_KINGTIGER, 3, 4, o); @@ -94,7 +94,7 @@ public class GameScreen implements Screen addUnit(gameStage, UnitType.GE_TIGER, 6, 4, o); addUnit(gameStage, UnitType.GE_WESPE, 7, 4, o); - o = Tile.Orientation.NORTH_WEST; + o = Pawn.Orientation.NORTH_EAST; addUnit(gameStage, UnitType.US_AT_GUN, 1, 3, o); addUnit(gameStage, UnitType.US_INFANTRY, 2, 3, o); addUnit(gameStage, UnitType.US_PERSHING, 3, 3, o); @@ -110,7 +110,7 @@ public class GameScreen implements Screen Gdx.input.setInputProcessor(getMultiplexer()); } - private void addUnit(Stage stage, UnitType t, int col, int row, Tile.Orientation o) + private void addUnit(Stage stage, UnitType t, int col, int row, Pawn.Orientation o) { PawnImage p = GameFactory.getUnit(t); map.setPawnAt(p, col, row, o); |