From 7680066681053d815b94dab8211a816cb995a3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 29 Oct 2015 13:16:35 +0100 Subject: HeadedPawn: add protected constructor without parameters --- core/src/ch/asynk/rustanddust/engine/HeadedPawn.java | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- cgit v1.1-2-g2b99