Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Hexagon Grid stuff

  • Loading branch information...
commit e1fe28b4ac0a96b019f7d385c9db4bbbbf4b91bd 1 parent 0bd0b40
Julian Fleischer authored
4 src/main/java/jazz/examples/dw/DWWorld.java
View
@@ -187,13 +187,13 @@ public Picture getPicture() {
@Override
public void update(double time, double delta) {
-
+
}
@Override
public void on(Event ev) {
if (ev.getType() == Type.CLICK) {
- init();
+ init(8, 4);
}
}
}
3  src/main/java/jazz/util/HexagonGrid2.java
View
@@ -154,7 +154,10 @@
HOR_SND_OFFSET_FULL
}
+ @SuppressWarnings("unused")
private final int gridWidth;
+
+ @SuppressWarnings("unused")
private final int gridHeight;
private final Mode gridMode;
Please sign in to comment.
Something went wrong with that request. Please try again.