summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-13 16:44:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-13 16:44:14 +0200
commit817c9f28aef2cc5ea40614f0dec72708d28cdb78 (patch)
tree40f3ba90c4e8a5940a841144143753856846aa1d /core
parent763a7161b17462198803d9026976100b03226cb5 (diff)
downloadRustAndDust-817c9f28aef2cc5ea40614f0dec72708d28cdb78.zip
RustAndDust-817c9f28aef2cc5ea40614f0dec72708d28cdb78.tar.gz
Pawn: forgot to init attack inner class
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Pawn.java2
1 files changed, 1 insertions, 1 deletions
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();