summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/gdx/boardgame/boards/Board.java4
-rw-r--r--core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java2
-rw-r--r--core/src/ch/asynk/gdx/boardgame/boards/SquareBoard.java2
-rw-r--r--core/src/ch/asynk/gdx/boardgame/boards/TriangleBoard.java2
-rw-r--r--core/src/ch/asynk/gdx/boardgame/tilestorages/ArrayTileStorage.java2
-rw-r--r--core/src/ch/asynk/gdx/boardgame/tilestorages/HashTileStorage.java2
-rw-r--r--core/src/ch/asynk/gdx/boardgame/tilestorages/TileStorage.java (renamed from core/src/ch/asynk/gdx/boardgame/TileStorage.java)4
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java2
8 files changed, 9 insertions, 11 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/Board.java b/core/src/ch/asynk/gdx/boardgame/boards/Board.java
index 38deac7..6cabcee 100644
--- a/core/src/ch/asynk/gdx/boardgame/boards/Board.java
+++ b/core/src/ch/asynk/gdx/boardgame/boards/Board.java
@@ -3,8 +3,8 @@ package ch.asynk.gdx.boardgame.boards;
import com.badlogic.gdx.math.Vector2;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage.TileProvider;
-import ch.asynk.gdx.boardgame.TileStorage.TileKeyGenerator;
+import ch.asynk.gdx.boardgame.tilestorages.TileStorage.TileProvider;
+import ch.asynk.gdx.boardgame.tilestorages.TileStorage.TileKeyGenerator;
public interface Board extends TileKeyGenerator
{
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java b/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java
index 8aba831..362efdf 100644
--- a/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java
+++ b/core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java
@@ -3,7 +3,7 @@ package ch.asynk.gdx.boardgame.boards;
import com.badlogic.gdx.math.Vector2;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage.TileProvider;
+import ch.asynk.gdx.boardgame.tilestorages.TileStorage.TileProvider;
public class HexBoard implements Board
{
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/SquareBoard.java b/core/src/ch/asynk/gdx/boardgame/boards/SquareBoard.java
index 2481530..d09a39d 100644
--- a/core/src/ch/asynk/gdx/boardgame/boards/SquareBoard.java
+++ b/core/src/ch/asynk/gdx/boardgame/boards/SquareBoard.java
@@ -3,7 +3,7 @@ package ch.asynk.gdx.boardgame.boards;
import com.badlogic.gdx.math.Vector2;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage.TileProvider;
+import ch.asynk.gdx.boardgame.tilestorages.TileStorage.TileProvider;
public class SquareBoard implements Board
{
diff --git a/core/src/ch/asynk/gdx/boardgame/boards/TriangleBoard.java b/core/src/ch/asynk/gdx/boardgame/boards/TriangleBoard.java
index eec16ce..9b7c4bc 100644
--- a/core/src/ch/asynk/gdx/boardgame/boards/TriangleBoard.java
+++ b/core/src/ch/asynk/gdx/boardgame/boards/TriangleBoard.java
@@ -3,7 +3,7 @@ package ch.asynk.gdx.boardgame.boards;
import com.badlogic.gdx.math.Vector2;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage.TileProvider;
+import ch.asynk.gdx.boardgame.tilestorages.TileStorage.TileProvider;
public class TriangleBoard implements Board
{
diff --git a/core/src/ch/asynk/gdx/boardgame/tilestorages/ArrayTileStorage.java b/core/src/ch/asynk/gdx/boardgame/tilestorages/ArrayTileStorage.java
index 135d833..db88ab7 100644
--- a/core/src/ch/asynk/gdx/boardgame/tilestorages/ArrayTileStorage.java
+++ b/core/src/ch/asynk/gdx/boardgame/tilestorages/ArrayTileStorage.java
@@ -1,8 +1,6 @@
package ch.asynk.gdx.boardgame.tilestorages;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage;
-import ch.asynk.gdx.boardgame.TileStorage.TileFactory;
public class ArrayTileStorage implements TileStorage
{
diff --git a/core/src/ch/asynk/gdx/boardgame/tilestorages/HashTileStorage.java b/core/src/ch/asynk/gdx/boardgame/tilestorages/HashTileStorage.java
index cf8a386..85b5538 100644
--- a/core/src/ch/asynk/gdx/boardgame/tilestorages/HashTileStorage.java
+++ b/core/src/ch/asynk/gdx/boardgame/tilestorages/HashTileStorage.java
@@ -4,8 +4,6 @@ import java.util.Map;
import java.util.HashMap;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage;
-import ch.asynk.gdx.boardgame.TileStorage.TileFactory;
public class HashTileStorage implements TileStorage
{
diff --git a/core/src/ch/asynk/gdx/boardgame/TileStorage.java b/core/src/ch/asynk/gdx/boardgame/tilestorages/TileStorage.java
index 63840d2..405ef2f 100644
--- a/core/src/ch/asynk/gdx/boardgame/TileStorage.java
+++ b/core/src/ch/asynk/gdx/boardgame/tilestorages/TileStorage.java
@@ -1,4 +1,6 @@
-package ch.asynk.gdx.boardgame;
+package ch.asynk.gdx.boardgame.tilestorages;
+
+import ch.asynk.gdx.boardgame.Tile;
public interface TileStorage
{
diff --git a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
index c74ff40..46b9d82 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
@@ -11,7 +11,7 @@ import ch.asynk.gdx.boardgame.Camera;
import ch.asynk.gdx.boardgame.Orientation;
import ch.asynk.gdx.boardgame.Piece;
import ch.asynk.gdx.boardgame.Tile;
-import ch.asynk.gdx.boardgame.TileStorage;
+import ch.asynk.gdx.boardgame.tilestorages.TileStorage;
import ch.asynk.gdx.boardgame.tilestorages.ArrayTileStorage;
import ch.asynk.gdx.boardgame.boards.Board;
import ch.asynk.gdx.boardgame.boards.BoardFactory;