summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Unit.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Unit.java b/core/src/ch/asynk/rustanddust/game/Unit.java
index 472bd20..cbc3842 100644
--- a/core/src/ch/asynk/rustanddust/game/Unit.java
+++ b/core/src/ch/asynk/rustanddust/game/Unit.java
@@ -200,6 +200,12 @@ public class Unit extends HeadedPawn
}
@Override
+ public boolean isHardTarget()
+ {
+ return (isA(UnitType.HARD_TARGET) || isA(UnitType.HARD_TARGET_HQ) || isA(UnitType.ARTILLERY));
+ }
+
+ @Override
public boolean isHq()
{
return isA(UnitType.HARD_TARGET_HQ);
@@ -247,12 +253,6 @@ public class Unit extends HeadedPawn
}
@Override
- public boolean isHardTarget()
- {
- return (isA(UnitType.HARD_TARGET) || isA(UnitType.HARD_TARGET_HQ) || isA(UnitType.ARTILLERY));
- }
-
- @Override
public boolean canRotate()
{
return canMove();