diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-02 13:28:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-02 13:28:39 +0100 |
commit | 607fdc973096deb44498f35b35edb3670f134665 (patch) | |
tree | a661b2da5c31d043313ea6337a48b4b4be22ad54 /core/src/ch/asynk/tankontank/engine | |
parent | 944aa66b27cdd1ed6b06c82244ac0004fc742822 (diff) | |
download | RustAndDust-607fdc973096deb44498f35b35edb3670f134665.zip RustAndDust-607fdc973096deb44498f35b35edb3670f134665.tar.gz |
engine/Player: add reinforcementCount()
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-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(); |