From 660d2f51a5fb52b88635cdb97043d0eb06bd7308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 21 Nov 2015 12:12:24 +0100 Subject: Board: w,dw,s are floats not int --- core/src/ch/asynk/rustanddust/engine/Board.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/engine/Board.java b/core/src/ch/asynk/rustanddust/engine/Board.java index fb77dd8..d5e7b62 100644 --- a/core/src/ch/asynk/rustanddust/engine/Board.java +++ b/core/src/ch/asynk/rustanddust/engine/Board.java @@ -38,9 +38,9 @@ public abstract class Board implements Disposable, Animation public int rows; public int x0; // bottom left x offset public int y0; // bottom left y offset - public int w; // hex width - public int dw; // half hex : w/2 - public int s; // hex side + public float w; // hex width + public float dw; // half hex : w/2 + public float s; // hex side public float dh; // hex top : s/2 public float h; // square height : s + dh public float slope; // north-west side slope : (dh / (float) dw) -- cgit v1.1-2-g2b99