diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Board.java | 4 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Tile.java | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java index 871f9e8..b0c8d10 100644 --- a/core/src/ch/asynk/tankontank/engine/Board.java +++ b/core/src/ch/asynk/tankontank/engine/Board.java @@ -152,6 +152,10 @@ public abstract class Board implements Disposable protected final List<GridPoint2> areaPoints = new Vector<GridPoint2>(10); + protected Board() + { + } + public Board(TileBuilder tileBuilder, Config cfg, Texture texture) { image = new Image(texture); diff --git a/core/src/ch/asynk/tankontank/engine/Tile.java b/core/src/ch/asynk/tankontank/engine/Tile.java index aaa6029..c366508 100644 --- a/core/src/ch/asynk/tankontank/engine/Tile.java +++ b/core/src/ch/asynk/tankontank/engine/Tile.java @@ -23,6 +23,10 @@ public abstract class Tile implements Drawable public abstract boolean hasTargetsFor(Pawn pawn); public abstract boolean isOffMap(); + protected Tile() + { + } + public Tile(float x, float y, TextureAtlas atlas) { this.stack = null; |