summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/GameFactory.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameFactory.java b/core/src/ch/asynk/tankontank/game/GameFactory.java
index 3b77f1a..f5c113c 100644
--- a/core/src/ch/asynk/tankontank/game/GameFactory.java
+++ b/core/src/ch/asynk/tankontank/game/GameFactory.java
@@ -113,11 +113,11 @@ public class GameFactory
cfg.rows = 9;
cfg.x0 = 83;
cfg.y0 = 182;
- cfg.h = 110;
- cfg.dh = 53.6f;
cfg.w = 189;
cfg.dw = 94;
- cfg.H = cfg.h + cfg.dh;
+ cfg.s = 110;
+ cfg.dh = 53.6f;
+ cfg.h = cfg.s + cfg.dh;
cfg.slope = (cfg.dh / (float) cfg.dw);
return cfg;