summaryrefslogtreecommitdiffstats
path: root/test/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/ch')
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java1
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java b/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java
index 501b00c..4013273 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java
@@ -44,6 +44,7 @@ public class AnimationsScreen extends AbstractScreen
this.board = BoardFactory.getBoard(0, 0, BoardFactory.BoardType.HEX, 110, 50, 103, BoardFactory.BoardOrientation.VERTICAL);
this.camera = this.cam = new Camera(10, map.getWidth(), map.getHeight(), 1.0f, 0.3f, false);
+ Piece.angleCorrection = 90;
this.panzer = getPiece(app, 7, 4, Orientation.NW, app.assets.PANZER, 1f);
this.other0 = getPiece(app, 9, 5, Orientation.SW, app.assets.PANZER, 0f);
this.other1 = getPiece(app, 3, 1, Orientation.NE, app.assets.PANZER, 0f);
diff --git a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
index 8bf1d50..4fb9e6d 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
@@ -37,6 +37,7 @@ public class BoardScreen extends AbstractScreen
this.assets = assets;
this.pos = new Vector2();
this.v = new Vector2();
+ Piece.angleCorrection = 90;
this.panzer = new Piece(assets.getTexture(assets.PANZER));
}