summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-09-15 15:38:09 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-09-15 15:38:09 +0200
commit57cddbf4b79b6c342e53acfa804d01f94d9bd266 (patch)
tree9fcc89fecc3166ff19a7ab90b14f1a4111903df4
parent898a7c34189e2b7d52c794c93e9fa0aeb759ca64 (diff)
downloadgdx-boardgame-57cddbf4b79b6c342e53acfa804d01f94d9bd266.zip
gdx-boardgame-57cddbf4b79b6c342e53acfa804d01f94d9bd266.tar.gz
namespecat gdx.board -> gdx.tabletop
-rw-r--r--build.gradle2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Assets.java (renamed from core/src/ch/asynk/gdx/board/Assets.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Board.java (renamed from core/src/ch/asynk/gdx/board/Board.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Camera.java (renamed from core/src/ch/asynk/gdx/board/Camera.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Drawable.java (renamed from core/src/ch/asynk/gdx/board/Drawable.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Touchable.java (renamed from core/src/ch/asynk/gdx/board/Touchable.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/board/BoardFactory.java (renamed from core/src/ch/asynk/gdx/board/board/BoardFactory.java)4
-rw-r--r--core/src/ch/asynk/gdx/tabletop/board/HexBoard.java (renamed from core/src/ch/asynk/gdx/board/board/HexBoard.java)4
-rw-r--r--core/src/ch/asynk/gdx/tabletop/board/SquareBoard.java (renamed from core/src/ch/asynk/gdx/board/board/SquareBoard.java)4
-rw-r--r--core/src/ch/asynk/gdx/tabletop/board/TriangleBoard.java (renamed from core/src/ch/asynk/gdx/board/board/TriangleBoard.java)4
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Alignment.java (renamed from core/src/ch/asynk/gdx/board/ui/Alignment.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Assembly.java (renamed from core/src/ch/asynk/gdx/board/ui/Assembly.java)4
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Button.java (renamed from core/src/ch/asynk/gdx/board/ui/Button.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Element.java (renamed from core/src/ch/asynk/gdx/board/ui/Element.java)6
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Label.java (renamed from core/src/ch/asynk/gdx/board/ui/Label.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Patch.java (renamed from core/src/ch/asynk/gdx/board/ui/Patch.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/ui/Root.java (renamed from core/src/ch/asynk/gdx/board/ui/Root.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/util/Collection.java (renamed from core/src/ch/asynk/gdx/board/util/Collection.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/util/IterableArray.java (renamed from core/src/ch/asynk/gdx/board/util/IterableArray.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/util/IterableQueue.java (renamed from core/src/ch/asynk/gdx/board/util/IterableQueue.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/util/IterableSet.java (renamed from core/src/ch/asynk/gdx/board/util/IterableSet.java)2
-rw-r--r--core/src/ch/asynk/gdx/tabletop/util/IterableStack.java (renamed from core/src/ch/asynk/gdx/board/util/IterableStack.java)2
-rw-r--r--test/build.gradle2
-rw-r--r--test/src/ch/asynk/gdx/board/test/Assets.java4
-rw-r--r--test/src/ch/asynk/gdx/board/test/DesktopLauncher.java2
-rw-r--r--test/src/ch/asynk/gdx/board/test/GameBoard.java8
-rw-r--r--test/src/ch/asynk/gdx/board/test/GameHud.java10
-rw-r--r--test/src/ch/asynk/gdx/board/test/GameScreen.java4
-rw-r--r--test/src/ch/asynk/gdx/board/test/GdxBoardTest.java2
-rw-r--r--test/src/ch/asynk/gdx/board/test/LoadingScreen.java2
30 files changed, 46 insertions, 46 deletions
diff --git a/build.gradle b/build.gradle
index 67d7b7c..cf09827 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,7 +16,7 @@ allprojects {
version = '1.0'
ext {
- appName = "gdx-board"
+ appName = "gdx-tabletop"
gdxVersion = '1.9.8'
}
diff --git a/core/src/ch/asynk/gdx/board/Assets.java b/core/src/ch/asynk/gdx/tabletop/Assets.java
index 3678129..4b4382d 100644
--- a/core/src/ch/asynk/gdx/board/Assets.java
+++ b/core/src/ch/asynk/gdx/tabletop/Assets.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board;
+package ch.asynk.gdx.tabletop;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Texture;
diff --git a/core/src/ch/asynk/gdx/board/Board.java b/core/src/ch/asynk/gdx/tabletop/Board.java
index 0089ad7..5af948e 100644
--- a/core/src/ch/asynk/gdx/board/Board.java
+++ b/core/src/ch/asynk/gdx/tabletop/Board.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board;
+package ch.asynk.gdx.tabletop;
import com.badlogic.gdx.math.Vector2;
diff --git a/core/src/ch/asynk/gdx/board/Camera.java b/core/src/ch/asynk/gdx/tabletop/Camera.java
index 4c1a1b6..4f51375 100644
--- a/core/src/ch/asynk/gdx/board/Camera.java
+++ b/core/src/ch/asynk/gdx/tabletop/Camera.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board;
+package ch.asynk.gdx.tabletop;
import com.badlogic.gdx.graphics.glutils.HdpiUtils;
import com.badlogic.gdx.graphics.OrthographicCamera;
diff --git a/core/src/ch/asynk/gdx/board/Drawable.java b/core/src/ch/asynk/gdx/tabletop/Drawable.java
index 53559dc..ce9372b 100644
--- a/core/src/ch/asynk/gdx/board/Drawable.java
+++ b/core/src/ch/asynk/gdx/tabletop/Drawable.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board;
+package ch.asynk.gdx.tabletop;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
diff --git a/core/src/ch/asynk/gdx/board/Touchable.java b/core/src/ch/asynk/gdx/tabletop/Touchable.java
index 533ec96..54ac6e2 100644
--- a/core/src/ch/asynk/gdx/board/Touchable.java
+++ b/core/src/ch/asynk/gdx/tabletop/Touchable.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board;
+package ch.asynk.gdx.tabletop;
public interface Touchable
{
diff --git a/core/src/ch/asynk/gdx/board/board/BoardFactory.java b/core/src/ch/asynk/gdx/tabletop/board/BoardFactory.java
index c4e1ea1..e3d6195 100644
--- a/core/src/ch/asynk/gdx/board/board/BoardFactory.java
+++ b/core/src/ch/asynk/gdx/tabletop/board/BoardFactory.java
@@ -1,6 +1,6 @@
-package ch.asynk.gdx.board.board;
+package ch.asynk.gdx.tabletop.board;
-import ch.asynk.gdx.board.Board;
+import ch.asynk.gdx.tabletop.Board;
public class BoardFactory
{
diff --git a/core/src/ch/asynk/gdx/board/board/HexBoard.java b/core/src/ch/asynk/gdx/tabletop/board/HexBoard.java
index 3fa4ba1..0fd8871 100644
--- a/core/src/ch/asynk/gdx/board/board/HexBoard.java
+++ b/core/src/ch/asynk/gdx/tabletop/board/HexBoard.java
@@ -1,8 +1,8 @@
-package ch.asynk.gdx.board.board;
+package ch.asynk.gdx.tabletop.board;
import com.badlogic.gdx.math.Vector2;
-import ch.asynk.gdx.board.Board;
+import ch.asynk.gdx.tabletop.Board;
public class HexBoard implements Board
{
diff --git a/core/src/ch/asynk/gdx/board/board/SquareBoard.java b/core/src/ch/asynk/gdx/tabletop/board/SquareBoard.java
index 3c68490..d0daf41 100644
--- a/core/src/ch/asynk/gdx/board/board/SquareBoard.java
+++ b/core/src/ch/asynk/gdx/tabletop/board/SquareBoard.java
@@ -1,8 +1,8 @@
-package ch.asynk.gdx.board.board;
+package ch.asynk.gdx.tabletop.board;
import com.badlogic.gdx.math.Vector2;
-import ch.asynk.gdx.board.Board;
+import ch.asynk.gdx.tabletop.Board;
public class SquareBoard implements Board
{
diff --git a/core/src/ch/asynk/gdx/board/board/TriangleBoard.java b/core/src/ch/asynk/gdx/tabletop/board/TriangleBoard.java
index eb1ccdf..961f552 100644
--- a/core/src/ch/asynk/gdx/board/board/TriangleBoard.java
+++ b/core/src/ch/asynk/gdx/tabletop/board/TriangleBoard.java
@@ -1,8 +1,8 @@
-package ch.asynk.gdx.board.board;
+package ch.asynk.gdx.tabletop.board;
import com.badlogic.gdx.math.Vector2;
-import ch.asynk.gdx.board.Board;
+import ch.asynk.gdx.tabletop.Board;
public class TriangleBoard implements Board
{
diff --git a/core/src/ch/asynk/gdx/board/ui/Alignment.java b/core/src/ch/asynk/gdx/tabletop/ui/Alignment.java
index cb8f4a2..43ae683 100644
--- a/core/src/ch/asynk/gdx/board/ui/Alignment.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Alignment.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
public enum Alignment
{
diff --git a/core/src/ch/asynk/gdx/board/ui/Assembly.java b/core/src/ch/asynk/gdx/tabletop/ui/Assembly.java
index b7d329e..505bc2c 100644
--- a/core/src/ch/asynk/gdx/board/ui/Assembly.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Assembly.java
@@ -1,9 +1,9 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
-import ch.asynk.gdx.board.util.IterableSet;
+import ch.asynk.gdx.tabletop.util.IterableSet;
public abstract class Assembly extends Element
{
diff --git a/core/src/ch/asynk/gdx/board/ui/Button.java b/core/src/ch/asynk/gdx/tabletop/ui/Button.java
index f5f771a..cc9c6da 100644
--- a/core/src/ch/asynk/gdx/board/ui/Button.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Button.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
diff --git a/core/src/ch/asynk/gdx/board/ui/Element.java b/core/src/ch/asynk/gdx/tabletop/ui/Element.java
index 09523b5..17511a9 100644
--- a/core/src/ch/asynk/gdx/board/ui/Element.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Element.java
@@ -1,10 +1,10 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.math.Rectangle;
-import ch.asynk.gdx.board.Drawable;
-import ch.asynk.gdx.board.Touchable;
+import ch.asynk.gdx.tabletop.Drawable;
+import ch.asynk.gdx.tabletop.Touchable;
public abstract class Element implements Drawable, Touchable
{
diff --git a/core/src/ch/asynk/gdx/board/ui/Label.java b/core/src/ch/asynk/gdx/tabletop/ui/Label.java
index 05dfc8c..d2b5fc6 100644
--- a/core/src/ch/asynk/gdx/board/ui/Label.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Label.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
diff --git a/core/src/ch/asynk/gdx/board/ui/Patch.java b/core/src/ch/asynk/gdx/tabletop/ui/Patch.java
index aa86c9f..c012f70 100644
--- a/core/src/ch/asynk/gdx/board/ui/Patch.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Patch.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.NinePatch;
diff --git a/core/src/ch/asynk/gdx/board/ui/Root.java b/core/src/ch/asynk/gdx/tabletop/ui/Root.java
index 95d9ed5..f42a8df 100644
--- a/core/src/ch/asynk/gdx/board/ui/Root.java
+++ b/core/src/ch/asynk/gdx/tabletop/ui/Root.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.ui;
+package ch.asynk.gdx.tabletop.ui;
public class Root extends Assembly
{
diff --git a/core/src/ch/asynk/gdx/board/util/Collection.java b/core/src/ch/asynk/gdx/tabletop/util/Collection.java
index 8aadadf..232420d 100644
--- a/core/src/ch/asynk/gdx/board/util/Collection.java
+++ b/core/src/ch/asynk/gdx/tabletop/util/Collection.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.util;
+package ch.asynk.gdx.tabletop.util;
import java.util.Iterator;
diff --git a/core/src/ch/asynk/gdx/board/util/IterableArray.java b/core/src/ch/asynk/gdx/tabletop/util/IterableArray.java
index 2dc4481..e72a8d4 100644
--- a/core/src/ch/asynk/gdx/board/util/IterableArray.java
+++ b/core/src/ch/asynk/gdx/tabletop/util/IterableArray.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.util;
+package ch.asynk.gdx.tabletop.util;
import java.util.Arrays;
import java.util.Iterator;
diff --git a/core/src/ch/asynk/gdx/board/util/IterableQueue.java b/core/src/ch/asynk/gdx/tabletop/util/IterableQueue.java
index 8a9a74f..b7c9d41 100644
--- a/core/src/ch/asynk/gdx/board/util/IterableQueue.java
+++ b/core/src/ch/asynk/gdx/tabletop/util/IterableQueue.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.util;
+package ch.asynk.gdx.tabletop.util;
public class IterableQueue<E> extends IterableArray<E>
{
diff --git a/core/src/ch/asynk/gdx/board/util/IterableSet.java b/core/src/ch/asynk/gdx/tabletop/util/IterableSet.java
index 7e37f4e..9875f74 100644
--- a/core/src/ch/asynk/gdx/board/util/IterableSet.java
+++ b/core/src/ch/asynk/gdx/tabletop/util/IterableSet.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.util;
+package ch.asynk.gdx.tabletop.util;
public class IterableSet<E> extends IterableArray<E>
{
diff --git a/core/src/ch/asynk/gdx/board/util/IterableStack.java b/core/src/ch/asynk/gdx/tabletop/util/IterableStack.java
index 1365408..f00dde3 100644
--- a/core/src/ch/asynk/gdx/board/util/IterableStack.java
+++ b/core/src/ch/asynk/gdx/tabletop/util/IterableStack.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.util;
+package ch.asynk.gdx.tabletop.util;
public class IterableStack<E> extends IterableArray<E>
{
diff --git a/test/build.gradle b/test/build.gradle
index 1be602a..6fe56b7 100644
--- a/test/build.gradle
+++ b/test/build.gradle
@@ -5,7 +5,7 @@ apply plugin: "java"
sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
-project.ext.mainClassName = "ch.asynk.gdx.board.test.DesktopLauncher"
+project.ext.mainClassName = "ch.asynk.gdx.tabletop.test.DesktopLauncher"
project.ext.assetsDir = new File("../assets/data");
task run(dependsOn: classes, type: JavaExec) {
diff --git a/test/src/ch/asynk/gdx/board/test/Assets.java b/test/src/ch/asynk/gdx/board/test/Assets.java
index 9d5c9ee..19e16df 100644
--- a/test/src/ch/asynk/gdx/board/test/Assets.java
+++ b/test/src/ch/asynk/gdx/board/test/Assets.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import com.badlogic.gdx.assets.loaders.FileHandleResolver;
import com.badlogic.gdx.assets.loaders.resolvers.InternalFileHandleResolver;
@@ -10,7 +10,7 @@ import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGeneratorLoader;
import com.badlogic.gdx.graphics.g2d.freetype.FreetypeFontLoader;
import com.badlogic.gdx.graphics.g2d.freetype.FreetypeFontLoader.FreeTypeFontLoaderParameter;
-public class Assets extends ch.asynk.gdx.board.Assets
+public class Assets extends ch.asynk.gdx.tabletop.Assets
{
public static final String LOADING = "loading.atlas";
diff --git a/test/src/ch/asynk/gdx/board/test/DesktopLauncher.java b/test/src/ch/asynk/gdx/board/test/DesktopLauncher.java
index 0e14b17..73e3e17 100644
--- a/test/src/ch/asynk/gdx/board/test/DesktopLauncher.java
+++ b/test/src/ch/asynk/gdx/board/test/DesktopLauncher.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
diff --git a/test/src/ch/asynk/gdx/board/test/GameBoard.java b/test/src/ch/asynk/gdx/board/test/GameBoard.java
index 9563119..e065745 100644
--- a/test/src/ch/asynk/gdx/board/test/GameBoard.java
+++ b/test/src/ch/asynk/gdx/board/test/GameBoard.java
@@ -1,13 +1,13 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.Disposable;
import com.badlogic.gdx.math.Vector2;
-import ch.asynk.gdx.board.Touchable;
-import ch.asynk.gdx.board.Board;
-import ch.asynk.gdx.board.board.BoardFactory;
+import ch.asynk.gdx.tabletop.Touchable;
+import ch.asynk.gdx.tabletop.Board;
+import ch.asynk.gdx.tabletop.board.BoardFactory;
public class GameBoard implements Disposable, Touchable
{
diff --git a/test/src/ch/asynk/gdx/board/test/GameHud.java b/test/src/ch/asynk/gdx/board/test/GameHud.java
index 8709846..d3495c5 100644
--- a/test/src/ch/asynk/gdx/board/test/GameHud.java
+++ b/test/src/ch/asynk/gdx/board/test/GameHud.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import java.util.function.Supplier;
@@ -7,10 +7,10 @@ import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.utils.Disposable;
-import ch.asynk.gdx.board.ui.Button;
-import ch.asynk.gdx.board.ui.Alignment;
-import ch.asynk.gdx.board.ui.Root;
-import ch.asynk.gdx.board.Touchable;
+import ch.asynk.gdx.tabletop.ui.Button;
+import ch.asynk.gdx.tabletop.ui.Alignment;
+import ch.asynk.gdx.tabletop.ui.Root;
+import ch.asynk.gdx.tabletop.Touchable;
public class GameHud implements Disposable, Touchable
{
diff --git a/test/src/ch/asynk/gdx/board/test/GameScreen.java b/test/src/ch/asynk/gdx/board/test/GameScreen.java
index 984ef5e..3931a89 100644
--- a/test/src/ch/asynk/gdx/board/test/GameScreen.java
+++ b/test/src/ch/asynk/gdx/board/test/GameScreen.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
@@ -13,7 +13,7 @@ import com.badlogic.gdx.input.GestureDetector.GestureAdapter;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.math.Vector3;
-import ch.asynk.gdx.board.Camera;
+import ch.asynk.gdx.tabletop.Camera;
public class GameScreen implements Screen
{
diff --git a/test/src/ch/asynk/gdx/board/test/GdxBoardTest.java b/test/src/ch/asynk/gdx/board/test/GdxBoardTest.java
index 03726f7..072b4d6 100644
--- a/test/src/ch/asynk/gdx/board/test/GdxBoardTest.java
+++ b/test/src/ch/asynk/gdx/board/test/GdxBoardTest.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
diff --git a/test/src/ch/asynk/gdx/board/test/LoadingScreen.java b/test/src/ch/asynk/gdx/board/test/LoadingScreen.java
index ee6ef2e..a4a33c2 100644
--- a/test/src/ch/asynk/gdx/board/test/LoadingScreen.java
+++ b/test/src/ch/asynk/gdx/board/test/LoadingScreen.java
@@ -1,4 +1,4 @@
-package ch.asynk.gdx.board.test;
+package ch.asynk.gdx.tabletop.test;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;