diff options
Diffstat (limited to 'core/src')
26 files changed, 41 insertions, 41 deletions
diff --git a/core/src/ch/asynk/zproject/Assets.java b/core/src/ch/asynk/zproject/Assets.java index a2046e5..2cff430 100644 --- a/core/src/ch/asynk/zproject/Assets.java +++ b/core/src/ch/asynk/zproject/Assets.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject; +package ch.asynk.gdx.board; 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.zproject.engine.Assets +public class Assets extends ch.asynk.gdx.board.engine.Assets { public static final String LOADING = "loading.atlas"; diff --git a/core/src/ch/asynk/zproject/GameBoard.java b/core/src/ch/asynk/zproject/GameBoard.java index 7ca3542..489e00d 100644 --- a/core/src/ch/asynk/zproject/GameBoard.java +++ b/core/src/ch/asynk/zproject/GameBoard.java @@ -1,13 +1,13 @@ -package ch.asynk.zproject; +package ch.asynk.gdx.board; 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.zproject.engine.Touchable; -import ch.asynk.zproject.engine.Board; -import ch.asynk.zproject.engine.board.BoardFactory; +import ch.asynk.gdx.board.engine.Touchable; +import ch.asynk.gdx.board.engine.Board; +import ch.asynk.gdx.board.engine.board.BoardFactory; public class GameBoard implements Disposable, Touchable { diff --git a/core/src/ch/asynk/zproject/GameHud.java b/core/src/ch/asynk/zproject/GameHud.java index 38b2551..a28f4ea 100644 --- a/core/src/ch/asynk/zproject/GameHud.java +++ b/core/src/ch/asynk/zproject/GameHud.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject; +package ch.asynk.gdx.board; 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.zproject.engine.ui.Button; -import ch.asynk.zproject.engine.ui.Alignment; -import ch.asynk.zproject.engine.ui.Root; -import ch.asynk.zproject.engine.Touchable; +import ch.asynk.gdx.board.engine.ui.Button; +import ch.asynk.gdx.board.engine.ui.Alignment; +import ch.asynk.gdx.board.engine.ui.Root; +import ch.asynk.gdx.board.engine.Touchable; public class GameHud implements Disposable, Touchable { diff --git a/core/src/ch/asynk/zproject/GameScreen.java b/core/src/ch/asynk/zproject/GameScreen.java index 10eaacd..e3cc255 100644 --- a/core/src/ch/asynk/zproject/GameScreen.java +++ b/core/src/ch/asynk/zproject/GameScreen.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject; +package ch.asynk.gdx.board; 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.zproject.engine.Camera; +import ch.asynk.gdx.board.engine.Camera; public class GameScreen implements Screen { diff --git a/core/src/ch/asynk/zproject/LoadingScreen.java b/core/src/ch/asynk/zproject/LoadingScreen.java index 6a778a1..6fe3996 100644 --- a/core/src/ch/asynk/zproject/LoadingScreen.java +++ b/core/src/ch/asynk/zproject/LoadingScreen.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject; +package ch.asynk.gdx.board; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; diff --git a/core/src/ch/asynk/zproject/ZProject.java b/core/src/ch/asynk/zproject/ZProject.java index e3ee4c8..8f1ff0d 100644 --- a/core/src/ch/asynk/zproject/ZProject.java +++ b/core/src/ch/asynk/zproject/ZProject.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject; +package ch.asynk.gdx.board; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; diff --git a/core/src/ch/asynk/zproject/engine/Assets.java b/core/src/ch/asynk/zproject/engine/Assets.java index c5e9468..c421aff 100644 --- a/core/src/ch/asynk/zproject/engine/Assets.java +++ b/core/src/ch/asynk/zproject/engine/Assets.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine; +package ch.asynk.gdx.board.engine; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.graphics.Texture; diff --git a/core/src/ch/asynk/zproject/engine/Board.java b/core/src/ch/asynk/zproject/engine/Board.java index b43f87e..9487e1d 100644 --- a/core/src/ch/asynk/zproject/engine/Board.java +++ b/core/src/ch/asynk/zproject/engine/Board.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine; +package ch.asynk.gdx.board.engine; import com.badlogic.gdx.math.Vector2; diff --git a/core/src/ch/asynk/zproject/engine/Camera.java b/core/src/ch/asynk/zproject/engine/Camera.java index 35c149b..a560d85 100644 --- a/core/src/ch/asynk/zproject/engine/Camera.java +++ b/core/src/ch/asynk/zproject/engine/Camera.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine; +package ch.asynk.gdx.board.engine; import com.badlogic.gdx.graphics.glutils.HdpiUtils; import com.badlogic.gdx.graphics.OrthographicCamera; diff --git a/core/src/ch/asynk/zproject/engine/Drawable.java b/core/src/ch/asynk/zproject/engine/Drawable.java index ca5fe91..300dd38 100644 --- a/core/src/ch/asynk/zproject/engine/Drawable.java +++ b/core/src/ch/asynk/zproject/engine/Drawable.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine; +package ch.asynk.gdx.board.engine; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; diff --git a/core/src/ch/asynk/zproject/engine/Touchable.java b/core/src/ch/asynk/zproject/engine/Touchable.java index b486aca..a1390be 100644 --- a/core/src/ch/asynk/zproject/engine/Touchable.java +++ b/core/src/ch/asynk/zproject/engine/Touchable.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine; +package ch.asynk.gdx.board.engine; public interface Touchable { diff --git a/core/src/ch/asynk/zproject/engine/board/BoardFactory.java b/core/src/ch/asynk/zproject/engine/board/BoardFactory.java index b2a39a9..7c472b9 100644 --- a/core/src/ch/asynk/zproject/engine/board/BoardFactory.java +++ b/core/src/ch/asynk/zproject/engine/board/BoardFactory.java @@ -1,6 +1,6 @@ -package ch.asynk.zproject.engine.board; +package ch.asynk.gdx.board.engine.board; -import ch.asynk.zproject.engine.Board; +import ch.asynk.gdx.board.engine.Board; public class BoardFactory { diff --git a/core/src/ch/asynk/zproject/engine/board/HexBoard.java b/core/src/ch/asynk/zproject/engine/board/HexBoard.java index c279d16..d639e0c 100644 --- a/core/src/ch/asynk/zproject/engine/board/HexBoard.java +++ b/core/src/ch/asynk/zproject/engine/board/HexBoard.java @@ -1,8 +1,8 @@ -package ch.asynk.zproject.engine.board; +package ch.asynk.gdx.board.engine.board; import com.badlogic.gdx.math.Vector2; -import ch.asynk.zproject.engine.Board; +import ch.asynk.gdx.board.engine.Board; public class HexBoard implements Board { diff --git a/core/src/ch/asynk/zproject/engine/board/SquareBoard.java b/core/src/ch/asynk/zproject/engine/board/SquareBoard.java index 193329a..824084f 100644 --- a/core/src/ch/asynk/zproject/engine/board/SquareBoard.java +++ b/core/src/ch/asynk/zproject/engine/board/SquareBoard.java @@ -1,8 +1,8 @@ -package ch.asynk.zproject.engine.board; +package ch.asynk.gdx.board.engine.board; import com.badlogic.gdx.math.Vector2; -import ch.asynk.zproject.engine.Board; +import ch.asynk.gdx.board.engine.Board; public class SquareBoard implements Board { diff --git a/core/src/ch/asynk/zproject/engine/ui/Alignment.java b/core/src/ch/asynk/zproject/engine/ui/Alignment.java index 385b419..6f2fa12 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Alignment.java +++ b/core/src/ch/asynk/zproject/engine/ui/Alignment.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; public enum Alignment { diff --git a/core/src/ch/asynk/zproject/engine/ui/Assembly.java b/core/src/ch/asynk/zproject/engine/ui/Assembly.java index 3a52acd..dbd0c97 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Assembly.java +++ b/core/src/ch/asynk/zproject/engine/ui/Assembly.java @@ -1,9 +1,9 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; -import ch.asynk.zproject.engine.util.IterableSet; +import ch.asynk.gdx.board.engine.util.IterableSet; public abstract class Assembly extends Element { diff --git a/core/src/ch/asynk/zproject/engine/ui/Button.java b/core/src/ch/asynk/zproject/engine/ui/Button.java index 54f4314..281dc49 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Button.java +++ b/core/src/ch/asynk/zproject/engine/ui/Button.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.BitmapFont; diff --git a/core/src/ch/asynk/zproject/engine/ui/Element.java b/core/src/ch/asynk/zproject/engine/ui/Element.java index 5fb4ed7..fc1d985 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Element.java +++ b/core/src/ch/asynk/zproject/engine/ui/Element.java @@ -1,10 +1,10 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; import com.badlogic.gdx.math.Rectangle; -import ch.asynk.zproject.engine.Drawable; -import ch.asynk.zproject.engine.Touchable; +import ch.asynk.gdx.board.engine.Drawable; +import ch.asynk.gdx.board.engine.Touchable; public abstract class Element implements Drawable, Touchable { diff --git a/core/src/ch/asynk/zproject/engine/ui/Label.java b/core/src/ch/asynk/zproject/engine/ui/Label.java index 6b6b65e..a2a60be 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Label.java +++ b/core/src/ch/asynk/zproject/engine/ui/Label.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.BitmapFont; diff --git a/core/src/ch/asynk/zproject/engine/ui/Patch.java b/core/src/ch/asynk/zproject/engine/ui/Patch.java index cf9ed4f..10fecef 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Patch.java +++ b/core/src/ch/asynk/zproject/engine/ui/Patch.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.NinePatch; diff --git a/core/src/ch/asynk/zproject/engine/ui/Root.java b/core/src/ch/asynk/zproject/engine/ui/Root.java index 02eb251..7cd2ba9 100644 --- a/core/src/ch/asynk/zproject/engine/ui/Root.java +++ b/core/src/ch/asynk/zproject/engine/ui/Root.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.ui; +package ch.asynk.gdx.board.engine.ui; public class Root extends Assembly { diff --git a/core/src/ch/asynk/zproject/engine/util/Collection.java b/core/src/ch/asynk/zproject/engine/util/Collection.java index 001ea76..426bae8 100644 --- a/core/src/ch/asynk/zproject/engine/util/Collection.java +++ b/core/src/ch/asynk/zproject/engine/util/Collection.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.util; +package ch.asynk.gdx.board.engine.util; import java.util.Iterator; diff --git a/core/src/ch/asynk/zproject/engine/util/IterableArray.java b/core/src/ch/asynk/zproject/engine/util/IterableArray.java index b6b0eee..446dd1b 100644 --- a/core/src/ch/asynk/zproject/engine/util/IterableArray.java +++ b/core/src/ch/asynk/zproject/engine/util/IterableArray.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.util; +package ch.asynk.gdx.board.engine.util; import java.util.Arrays; import java.util.Iterator; diff --git a/core/src/ch/asynk/zproject/engine/util/IterableQueue.java b/core/src/ch/asynk/zproject/engine/util/IterableQueue.java index bbf05bf..1c952d3 100644 --- a/core/src/ch/asynk/zproject/engine/util/IterableQueue.java +++ b/core/src/ch/asynk/zproject/engine/util/IterableQueue.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.util; +package ch.asynk.gdx.board.engine.util; public class IterableQueue<E> extends IterableArray<E> { diff --git a/core/src/ch/asynk/zproject/engine/util/IterableSet.java b/core/src/ch/asynk/zproject/engine/util/IterableSet.java index 37ae573..d28cf28 100644 --- a/core/src/ch/asynk/zproject/engine/util/IterableSet.java +++ b/core/src/ch/asynk/zproject/engine/util/IterableSet.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.util; +package ch.asynk.gdx.board.engine.util; public class IterableSet<E> extends IterableArray<E> { diff --git a/core/src/ch/asynk/zproject/engine/util/IterableStack.java b/core/src/ch/asynk/zproject/engine/util/IterableStack.java index 7e7edb0..d62daaa 100644 --- a/core/src/ch/asynk/zproject/engine/util/IterableStack.java +++ b/core/src/ch/asynk/zproject/engine/util/IterableStack.java @@ -1,4 +1,4 @@ -package ch.asynk.zproject.engine.util; +package ch.asynk.gdx.board.engine.util; public class IterableStack<E> extends IterableArray<E> { |