diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Player.java | 5 |
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(); |