summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Unit.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Unit.java b/core/src/ch/asynk/rustanddust/game/Unit.java
index 582a1f5..41e392b 100644
--- a/core/src/ch/asynk/rustanddust/game/Unit.java
+++ b/core/src/ch/asynk/rustanddust/game/Unit.java
@@ -66,6 +66,8 @@ public class Unit extends HeadedPawn
public boolean ace;
public boolean hasMoved;
public boolean hasFired;
+ public Zone entryZone;
+ public Zone exitZone;
protected Unit(Army army, AtlasRegion chit, AtlasRegion body, AtlasRegion turret, TextureAtlas overlays)
{
@@ -74,6 +76,8 @@ public class Unit extends HeadedPawn
ace = false;
this. id = unit_id;
unit_id += 1;
+ this.entryZone = null;
+ this.exitZone = null;
}
private void commonSetup()