diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-01-23 17:19:12 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-01-23 17:19:12 +0100 |
commit | 0e50159336f836c631cdd32debb468ed336c4c3a (patch) | |
tree | b453fe9c33aa8a43864565f2228e930dc3f68aff | |
parent | 318a58a757435081f18626eb78dbd04498aa9f43 (diff) | |
download | gdx-boardgame-0e50159336f836c631cdd32debb468ed336c4c3a.zip gdx-boardgame-0e50159336f836c631cdd32debb468ed336c4c3a.tar.gz |
TileStorage -> tilestorages/TileStorage
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/Board.java | 4 | ||||
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/HexBoard.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/SquareBoard.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/boards/TriangleBoard.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/tilestorages/ArrayTileStorage.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/tilestorages/HashTileStorage.java | 2 | ||||
-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.java | 2 |
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; |