diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 6 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Unit.java | 14 | ||||
-rw-r--r-- | data/assets/pawn-overlays/00_move.png | bin | 0 -> 14933 bytes | |||
-rw-r--r-- | data/assets/pawn-overlays/01_move.png | bin | 15042 -> 0 bytes | |||
-rw-r--r-- | data/assets/pawn-overlays/01_target.png (renamed from data/assets/pawn-overlays/03_target.png) | bin | 2869 -> 2869 bytes | |||
-rw-r--r-- | data/assets/pawn-overlays/02_fire.png (renamed from data/assets/pawn-overlays/02_attack.png) | bin | 8137 -> 8137 bytes | |||
-rw-r--r-- | data/assets/pawn-overlays/03_may_fire.png (renamed from data/assets/pawn-overlays/04_attack_assist.png) | bin | 4550 -> 4550 bytes | |||
-rw-r--r-- | data/assets/pawn-overlays/12_attack.png | bin | 6820 -> 0 bytes | |||
-rw-r--r-- | data/assets/pawn-overlays/14_attack_assist.png | bin | 3834 -> 0 bytes |
9 files changed, 10 insertions, 10 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 199868f..8a72b91 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -314,9 +314,9 @@ public abstract class Map extends Board public void hideMoveablePawns() { moveablePawns.enable(Unit.MOVE, false); } public void showPossibleTargets() { possibleTargets.enable(Unit.TARGET, true); } public void hidePossibleTargets() { possibleTargets.enable(Unit.TARGET, false); } - public void showAttackAssists() { attackAssists.enable(Unit.ATTACK_ASSIST, true); } - public void hideAttackAssists() { attackAssists.enable(Unit.ATTACK, false); - attackAssists.enable(Unit.ATTACK_ASSIST, false); } + public void showAttackAssists() { attackAssists.enable(Unit.MAY_FIRE, true); } + public void hideAttackAssists() { attackAssists.enable(Unit.FIRE, false); + attackAssists.enable(Unit.MAY_FIRE, false); } public void showBreakPawns() { breakPawns.enable(Unit.MOVE, true); } public void hideBreakPawns() { breakPawns.enable(Unit.MOVE, false); } diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java index b3db8d0..64af758 100644 --- a/core/src/ch/asynk/tankontank/game/Unit.java +++ b/core/src/ch/asynk/tankontank/game/Unit.java @@ -11,9 +11,9 @@ import ch.asynk.tankontank.engine.Orientation; public class Unit extends HeadedPawn { public static final int MOVE = 0; - public static final int ATTACK = 1; - public static final int TARGET = 2; - public static final int ATTACK_ASSIST = 3; + public static final int TARGET = 1; + public static final int FIRE = 2; + public static final int MAY_FIRE = 3; public enum UnitType implements Pawn.PawnType { @@ -232,8 +232,8 @@ public class Unit extends HeadedPawn public void hideMoveable() { enableOverlay(MOVE, false); } public void showTarget() { enableOverlay(TARGET, true); } public void hideTarget() { enableOverlay(TARGET, false); } - public void showAttack() { enableOverlay(ATTACK, true); } - public void hideAttack() { enableOverlay(ATTACK, false); } - public void showAttackAssist() { enableOverlay(ATTACK_ASSIST, true); } - public void hideAttackAssist() { enableOverlay(ATTACK_ASSIST, false); } + public void showAttack() { enableOverlay(FIRE, true); } + public void hideAttack() { enableOverlay(FIRE, false); } + public void showAttackAssist() { enableOverlay(MAY_FIRE, true); } + public void hideAttackAssist() { enableOverlay(MAY_FIRE, false); } } diff --git a/data/assets/pawn-overlays/00_move.png b/data/assets/pawn-overlays/00_move.png Binary files differnew file mode 100644 index 0000000..73c92cb --- /dev/null +++ b/data/assets/pawn-overlays/00_move.png diff --git a/data/assets/pawn-overlays/01_move.png b/data/assets/pawn-overlays/01_move.png Binary files differdeleted file mode 100644 index 1505885..0000000 --- a/data/assets/pawn-overlays/01_move.png +++ /dev/null diff --git a/data/assets/pawn-overlays/03_target.png b/data/assets/pawn-overlays/01_target.png Binary files differindex 953151d..953151d 100644 --- a/data/assets/pawn-overlays/03_target.png +++ b/data/assets/pawn-overlays/01_target.png diff --git a/data/assets/pawn-overlays/02_attack.png b/data/assets/pawn-overlays/02_fire.png Binary files differindex 2344671..2344671 100644 --- a/data/assets/pawn-overlays/02_attack.png +++ b/data/assets/pawn-overlays/02_fire.png diff --git a/data/assets/pawn-overlays/04_attack_assist.png b/data/assets/pawn-overlays/03_may_fire.png Binary files differindex 52b29dd..52b29dd 100644 --- a/data/assets/pawn-overlays/04_attack_assist.png +++ b/data/assets/pawn-overlays/03_may_fire.png diff --git a/data/assets/pawn-overlays/12_attack.png b/data/assets/pawn-overlays/12_attack.png Binary files differdeleted file mode 100644 index a616530..0000000 --- a/data/assets/pawn-overlays/12_attack.png +++ /dev/null diff --git a/data/assets/pawn-overlays/14_attack_assist.png b/data/assets/pawn-overlays/14_attack_assist.png Binary files differdeleted file mode 100644 index 7584dee..0000000 --- a/data/assets/pawn-overlays/14_attack_assist.png +++ /dev/null |