diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-17 14:52:51 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-17 14:52:51 +0100 |
commit | 8d6f8738203d45d4da116e390b6e6685f4636bb3 (patch) | |
tree | cc78b335fcbf9f805f419d9f7aa33284b3c3b815 /core/src/ch/asynk/tankontank/game/battles | |
parent | b4c82404bcb7b2e1f58339088ccf48023c1da6f9 (diff) | |
download | RustAndDust-8d6f8738203d45d4da116e390b6e6685f4636bb3.zip RustAndDust-8d6f8738203d45d4da116e390b6e6685f4636bb3.tar.gz |
Player: clean up API
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/battles')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java b/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java index f31aff4..4571772 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java @@ -47,7 +47,7 @@ public class BattleFrontalAssault extends BattleCommon @Override public boolean deploymentDone(Player player) { - int n = player.getReinforcement().size(); + int n = player.reinforcement(); if (n == 0) { player.deploymentDone(); return true; |