diff options
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Player.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Player.java b/core/src/ch/asynk/rustanddust/game/Player.java index ca4fc88..3ed012b 100644 --- a/core/src/ch/asynk/rustanddust/game/Player.java +++ b/core/src/ch/asynk/rustanddust/game/Player.java @@ -141,6 +141,16 @@ public class Player public int getAp() { + return ap; + } + + public int getApSpent() + { + return apSpent; + } + + public int getCurrentAp() + { return ((apSpent < ap) ? (apSpent + 1) : apSpent); } |