diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-02 00:04:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-02 00:04:52 +0100 |
commit | 15bead0d62bf986010c0b3b9aa414d9ae12a2cfb (patch) | |
tree | ef04ea8db94962ef994f2a75f4a87551aec677be /core/src/ch/asynk/rustanddust/game/hud | |
parent | 2db955979ca08f6c325dac12593eab59fa87418e (diff) | |
download | RustAndDust-15bead0d62bf986010c0b3b9aa414d9ae12a2cfb.zip RustAndDust-15bead0d62bf986010c0b3b9aa414d9ae12a2cfb.tar.gz |
PlayerInfo: use getCurrentAp() instead of getAp()
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/hud')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 2 |
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; |