summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-02 00:04:52 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-02 00:04:52 +0100
commit15bead0d62bf986010c0b3b9aa414d9ae12a2cfb (patch)
treeef04ea8db94962ef994f2a75f4a87551aec677be
parent2db955979ca08f6c325dac12593eab59fa87418e (diff)
downloadRustAndDust-15bead0d62bf986010c0b3b9aa414d9ae12a2cfb.zip
RustAndDust-15bead0d62bf986010c0b3b9aa414d9ae12a2cfb.tar.gz
PlayerInfo: use getCurrentAp() instead of getAp()
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
index 515ba51..ef05187 100644
--- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
+++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
@@ -104,7 +104,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation
{
unitDock.hide();
turns.write(String.format("%d", player.getTurn()));
- aps.write(String.format("%d", player.getAp()));
+ aps.write(String.format("%d", player.getCurrentAp()));
int r = player.reinforcement();
if (r == 0) {
reinforcement.visible = false;