diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 16:44:14 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 16:44:14 +0200 |
commit | 817c9f28aef2cc5ea40614f0dec72708d28cdb78 (patch) | |
tree | 40f3ba90c4e8a5940a841144143753856846aa1d /core/src | |
parent | 763a7161b17462198803d9026976100b03226cb5 (diff) | |
download | RustAndDust-817c9f28aef2cc5ea40614f0dec72708d28cdb78.zip RustAndDust-817c9f28aef2cc5ea40614f0dec72708d28cdb78.tar.gz |
Pawn: forgot to init attack inner class
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Pawn.java | 2 |
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(); |