From f61f47a2f403d39531482c036726715958b16901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 16 Sep 2014 17:09:04 +0200 Subject: add game/HexOrientation --- core/src/ch/asynk/tankontank/game/HexOrientation.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 core/src/ch/asynk/tankontank/game/HexOrientation.java 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; } +} -- cgit v1.1-2-g2b99