summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-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; }
+}