summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-10-29 13:16:35 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-10-29 13:16:35 +0100
commit7680066681053d815b94dab8211a816cb995a3d7 (patch)
treebbbee165e244245f77e31a044c4c428ee8b27277 /core/src
parent216d00c208a636ad4b1797d57298a67e8cb31b66 (diff)
downloadRustAndDust-7680066681053d815b94dab8211a816cb995a3d7.zip
RustAndDust-7680066681053d815b94dab8211a816cb995a3d7.tar.gz
HeadedPawn: add protected constructor without parameters
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/HeadedPawn.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java b/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java
index 67e1d44..f982cd1 100644
--- a/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java
+++ b/core/src/ch/asynk/rustanddust/engine/HeadedPawn.java
@@ -13,6 +13,12 @@ public abstract class HeadedPawn extends Pawn
private Sprite head;
protected Orientation orientation;
+ protected HeadedPawn()
+ {
+ super();
+ this.orientation = Orientation.KEEP;
+ }
+
public HeadedPawn(Faction faction, String pawn, String head, TextureAtlas pawns, TextureAtlas overlays)
{
super(faction, pawn, pawns, overlays);