From 07bcaa12726b492a6b5079616eb4ffad143725fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 10 May 2016 12:55:24 +0200 Subject: Map0Hex: add getEntryZone(int) and getExitZone(int) --- core/src/ch/asynk/rustanddust/game/map/Map0Hex.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java b/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java index c2049ea..80ab5f9 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java @@ -82,6 +82,16 @@ public abstract class Map0Hex extends Board zone.enable(Hex.EXIT, true); } + public Zone getEntryZone(int i) + { + return entryZones.get(i); + } + + public Zone getExitZone(int i) + { + return exitZones.get(i); + } + public void hexSelect(Hex hex) { selectedTile.set(hex); } public void hexUnselect(Hex hex) { selectedTile.hide(); } public void hexMoveShow(Hex hex) { enableOverlayOn(hex, Hex.MOVE, true); } -- cgit v1.1-2-g2b99