summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-16 17:09:04 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-16 17:09:04 +0200
commitf61f47a2f403d39531482c036726715958b16901 (patch)
tree594c3f34d5744acde53f9c97b8e0660956cf7756 /core/src/ch/asynk/tankontank
parent033579e68ddb402809014ca3b4a3d169e6d385f1 (diff)
downloadRustAndDust-f61f47a2f403d39531482c036726715958b16901.zip
RustAndDust-f61f47a2f403d39531482c036726715958b16901.tar.gz
add game/HexOrientation
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/HexOrientation.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/HexOrientation.java b/core/src/ch/asynk/tankontank/game/HexOrientation.java
new file mode 100644
index 0000000..ff2b921
--- /dev/null
+++ b/core/src/ch/asynk/tankontank/game/HexOrientation.java
@@ -0,0 +1,15 @@
+package ch.asynk.tankontank.game;
+
+public enum HexOrientation
+{
+ KEEP(0),
+ WEST(-90),
+ NORTH_WEST(-30),
+ NORTH_EAST (30),
+ EAST(90),
+ SOUTH_EAST(150),
+ SOUTH_WEST(-150);
+
+ public final int v;
+ HexOrientation(int v) { this.v = v; }
+}