diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-17 09:28:53 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-17 09:28:53 +0200 |
commit | 1259e9aee8da8367807b32632ba5311947206944 (patch) | |
tree | 14b4b60738994e36389067bd9979b6c40297f66e /core/src/ch/asynk/tankontank/game | |
parent | 007ee42ea9ce00aa47a18f8e514fdcd018b486a7 (diff) | |
download | RustAndDust-1259e9aee8da8367807b32632ba5311947206944.zip RustAndDust-1259e9aee8da8367807b32632ba5311947206944.tar.gz |
Map.Config: rename some fields for clarity
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/GameFactory.java | 6 |
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; |