diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-10 11:15:37 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-10 11:15:37 +0100 |
commit | a114192ee535dd2a2ff36b94e3c12a101391c66e (patch) | |
tree | e998e7f3fb874783259b8ae91205755a754c3677 | |
parent | 412d2e64b153d4691a5b13f194ff9b8c26aa711d (diff) | |
download | RustAndDust-a114192ee535dd2a2ff36b94e3c12a101391c66e.zip RustAndDust-a114192ee535dd2a2ff36b94e3c12a101391c66e.tar.gz |
Unit: add public Zone entryZone and exitZone
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Unit.java | 4 |
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() |