summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-01-23 17:19:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2020-01-23 17:19:12 +0100
commit0e50159336f836c631cdd32debb468ed336c4c3a (patch)
treeb453fe9c33aa8a43864565f2228e930dc3f68aff /core
parent318a58a757435081f18626eb78dbd04498aa9f43 (diff)
downloadgdx-boardgame-0e50159336f836c631cdd32debb468ed336c4c3a.zip
gdx-boardgame-0e50159336f836c631cdd32debb468ed336c4c3a.tar.gz
TileStorage -> tilestorages/TileStorage
Diffstat (limited to 'core')
-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
7 files changed, 8 insertions, 10 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
{