summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/battles
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-17 14:52:51 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-17 14:52:51 +0100
commit8d6f8738203d45d4da116e390b6e6685f4636bb3 (patch)
treecc78b335fcbf9f805f419d9f7aa33284b3c3b815 /core/src/ch/asynk/tankontank/game/battles
parentb4c82404bcb7b2e1f58339088ccf48023c1da6f9 (diff)
downloadRustAndDust-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.java2
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;