summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Player.java5
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java2
2 files changed, 1 insertions, 6 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Player.java b/core/src/ch/asynk/tankontank/engine/Player.java
index 18552e1..385a3ae 100644
--- a/core/src/ch/asynk/tankontank/engine/Player.java
+++ b/core/src/ch/asynk/tankontank/engine/Player.java
@@ -40,11 +40,6 @@ public abstract class Player
return (units.size() + reinforcement.size());
}
- public int reinforcementCount()
- {
- return reinforcement.size();
- }
-
public String getName()
{
return faction.toString();
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java
index b0d1d2d..6d0dc09 100644
--- a/core/src/ch/asynk/tankontank/game/Hud.java
+++ b/core/src/ch/asynk/tankontank/game/Hud.java
@@ -90,7 +90,7 @@ public class Hud implements Disposable
{
turns.write("" + ctrl.player.getTurn());
aps.write("" + ctrl.player.getAp());
- int r = ctrl.player.reinforcementCount();
+ int r = ctrl.player.reinforcement.size();
if (r == 0) {
reinforcement.visible = false;
} else {