diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-22 22:33:27 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-22 22:33:27 +0100 |
commit | f9559038c4fc64923f9add9208ba5fe4d152d6bb (patch) | |
tree | e9116de94a724c717ff0e6764e097a91141256f6 /core/src/ch/asynk/tankontank/game | |
parent | cf5a3ff71945fb8bd0714d24c1e09e1a66a1711a (diff) | |
download | RustAndDust-f9559038c4fc64923f9add9208ba5fe4d152d6bb.zip RustAndDust-f9559038c4fc64923f9add9208ba5fe4d152d6bb.tar.gz |
comment out many notifications
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
5 files changed, 10 insertions, 9 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateEngage.java b/core/src/ch/asynk/tankontank/game/states/StateEngage.java index fb83080..f20bb9f 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateEngage.java +++ b/core/src/ch/asynk/tankontank/game/states/StateEngage.java @@ -84,7 +84,7 @@ public class StateEngage extends StateCommon // activeUnit is the target if ((activeUnit == null) && map.possibleTargets.contains(unit)) { - ctrl.hud.notify("Engage " + unit); + // ctrl.hud.notify("Engage " + unit); map.hidePossibleTargets(); to = upHex; activeUnit = unit; @@ -97,10 +97,11 @@ public class StateEngage extends StateCommon ctrl.setState(StateType.DONE); } else if ((activeUnit != null) && map.engagementAssists.contains(unit)) { - if(map.toggleAttackAssist(unit)) - ctrl.hud.notify(unit + " will fire"); - else - ctrl.hud.notify(unit + " wont fire"); + map.toggleAttackAssist(unit); + // if(map.toggleAttackAssist(unit)) + // ctrl.hud.notify(unit + " will fire"); + // else + // ctrl.hud.notify(unit + " wont fire"); } } } diff --git a/core/src/ch/asynk/tankontank/game/states/StateEscape.java b/core/src/ch/asynk/tankontank/game/states/StateEscape.java index 6c76a74..8996d6b 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateEscape.java +++ b/core/src/ch/asynk/tankontank/game/states/StateEscape.java @@ -45,7 +45,7 @@ public class StateEscape extends StateCommon private StateType escape(Unit unit) { - ctrl.hud.notify("Escape " + unit); + // ctrl.hud.notify("Escape " + unit); Zone exitZone = ctrl.battle.getExitZone(unit); diff --git a/core/src/ch/asynk/tankontank/game/states/StatePromote.java b/core/src/ch/asynk/tankontank/game/states/StatePromote.java index 8606986..c6302f4 100644 --- a/core/src/ch/asynk/tankontank/game/states/StatePromote.java +++ b/core/src/ch/asynk/tankontank/game/states/StatePromote.java @@ -11,7 +11,7 @@ public class StatePromote extends StateCommon String str = selectedUnit.toString(); if (ctrl.player.promote(selectedUnit)) { map.activatedUnits.add(selectedUnit); - ctrl.hud.notify(str+ " has been promoted"); + // ctrl.hud.notify(str+ " has been promoted"); } ctrl.setState(StateType.DONE); } diff --git a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java index 686a388..e254491 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java +++ b/core/src/ch/asynk/tankontank/game/states/StateReinforcement.java @@ -82,7 +82,7 @@ public class StateReinforcement extends StateCommon else ctrl.setState(StateType.ROTATE); } else { - ctrl.hud.notify("Impossible to enter map at that position"); + ctrl.hud.notify("Can not enter the map at that position"); } } } diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java index 55f4d4d..88505dc 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java +++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java @@ -111,7 +111,7 @@ public class StateRotate extends StateCommon { StateType whenDone = StateType.DONE; - ctrl.hud.notify("Move " + activeUnit); + // ctrl.hud.notify("Move " + activeUnit); if (map.moveUnit(activeUnit, o) > 0) whenDone = StateType.MOVE; |