From 817c9f28aef2cc5ea40614f0dec72708d28cdb78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 13 Oct 2014 16:44:14 +0200 Subject: Pawn: forgot to init attack inner class --- core/src/ch/asynk/tankontank/engine/Pawn.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java index 3d71e4f..8c31578 100644 --- a/core/src/ch/asynk/tankontank/engine/Pawn.java +++ b/core/src/ch/asynk/tankontank/engine/Pawn.java @@ -37,7 +37,7 @@ public abstract class Pawn implements Drawable, Disposable private String name; private Image image; private StackedImages overlays; - public Attack attack; + public Attack attack = new Attack(); public abstract int getMovementPoints(); public abstract int getRoadMarchBonus(); -- cgit v1.1-2-g2b99