summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-01-23 17:09:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2020-01-23 17:09:04 +0100
commit6616325d41ad5a757b1c790974e9a27a0758d70c (patch)
tree19f5ea227587fde081e59bea063a750270e5aff9 /core/src
parent591ede163eb28e6c74c584503050fda2a419e815 (diff)
downloadgdx-boardgame-6616325d41ad5a757b1c790974e9a27a0758d70c.zip
gdx-boardgame-6616325d41ad5a757b1c790974e9a27a0758d70c.tar.gz
Board : reoder prototypes
Diffstat (limited to 'core/src')
-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);
}