summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Player.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Player.java b/core/src/ch/asynk/tankontank/engine/Player.java
index 4678484..fa0a4d0 100644
--- a/core/src/ch/asynk/tankontank/engine/Player.java
+++ b/core/src/ch/asynk/tankontank/engine/Player.java
@@ -34,6 +34,11 @@ public abstract class Player
return (units.size() + reinforcement.size());
}
+ public int reinforcementCount()
+ {
+ return reinforcement.size();
+ }
+
public String getName()
{
return faction.toString();