diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-15 17:02:16 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-15 17:02:16 +0100 |
commit | 9347eb15e8bc49efabd0dfc53d1a1995cd4a6d61 (patch) | |
tree | 23a41c76a9a6a1ca4f6a4e34e86fab40cdc01cb6 /core/src/ch/asynk/rustanddust/game/states | |
parent | 17f8347f02a6775b721bad568b0142c2d2551402 (diff) | |
download | RustAndDust-9347eb15e8bc49efabd0dfc53d1a1995cd4a6d61.zip RustAndDust-9347eb15e8bc49efabd0dfc53d1a1995cd4a6d61.tar.gz |
Player,StatisticsPanel: add Objectives count
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/states')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateEngage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateEngage.java b/core/src/ch/asynk/rustanddust/game/states/StateEngage.java index 0d342ad..2345aa0 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateEngage.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateEngage.java @@ -53,13 +53,13 @@ public class StateEngage extends StateCommon { StateType nextState = StateType.DONE; if (map.engageUnit(selectedUnit, activeUnit)) { - ctrl.battle.getPlayer().wonEngagementCount += 1; + ctrl.battle.getPlayer().engagementWon += 1; ctrl.battle.getOpponent().casualty(activeUnit); if (map.unitsBreakThroughSize() > 0) { nextState = StateType.BREAK; } } else { - ctrl.battle.getPlayer().lostEngagementCount += 1; + ctrl.battle.getPlayer().engagementLost += 1; } activeUnit.showTarget(); |