diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-10-29 13:16:35 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-10-29 13:16:35 +0100 |
commit | 7680066681053d815b94dab8211a816cb995a3d7 (patch) | |
tree | bbbee165e244245f77e31a044c4c428ee8b27277 /core/src/ch/asynk/rustanddust/engine | |
parent | 216d00c208a636ad4b1797d57298a67e8cb31b66 (diff) | |
download | RustAndDust-7680066681053d815b94dab8211a816cb995a3d7.zip RustAndDust-7680066681053d815b94dab8211a816cb995a3d7.tar.gz |
HeadedPawn: add protected constructor without parameters
Diffstat (limited to 'core/src/ch/asynk/rustanddust/engine')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/HeadedPawn.java | 6 |
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); |