summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/boards/Board.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/Board.java b/core/src/ch/asynk/gdx/boardgame/boards/Board.java
index f12391a..4089e65 100644
--- a/core/src/ch/asynk/gdx/boardgame/boards/Board.java
+++ b/core/src/ch/asynk/gdx/boardgame/boards/Board.java
@@ -6,12 +6,12 @@ import ch.asynk.gdx.boardgame.TileStorage.TileKeyGenerator;
public interface Board extends TileKeyGenerator
{
- public int[] getAngles();
public int size();
+ public int[] getAngles();
+
public boolean isOnMap(int x, int y);
public void centerOf(int x, int y, Vector2 v);
public void toBoard(float x, float y, Vector2 v);
- public float distance(int x0, int y0, int x1, int y1, Geometry geometry);
enum Geometry
{
@@ -19,4 +19,5 @@ public interface Board extends TileKeyGenerator
TAXICAB,
TCHEBYCHEV
}
+ public float distance(int x0, int y0, int x1, int y1, Geometry geometry);
}