summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Player.java10
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);
}