summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/engine/Pawn.java5
-rw-r--r--core/src/ch/asynk/tankontank/engine/gfx/Image.java4
2 files changed, 9 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java
index be3c04c..b669bb7 100644
--- a/core/src/ch/asynk/tankontank/engine/Pawn.java
+++ b/core/src/ch/asynk/tankontank/engine/Pawn.java
@@ -31,6 +31,11 @@ public abstract class Pawn extends Image implements Disposable
public abstract int getAngleOfAttack();
public abstract int getAttackRangeFrom(Tile tile);
+ protected Pawn()
+ {
+ super();
+ }
+
public Pawn(TextureRegion pawn, TextureAtlas overlays)
{
super(pawn);
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/Image.java b/core/src/ch/asynk/tankontank/engine/gfx/Image.java
index fcfc4c8..b7771ea 100644
--- a/core/src/ch/asynk/tankontank/engine/gfx/Image.java
+++ b/core/src/ch/asynk/tankontank/engine/gfx/Image.java
@@ -10,6 +10,10 @@ public class Image extends Sprite implements Moveable, Disposable
{
private Texture texture;
+ protected Image()
+ {
+ }
+
public Image(Texture texture)
{
super(texture);