summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-02 11:40:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-02 11:40:12 +0100
commit60e66ef079c648f142724aaab317c7bce89fb39e (patch)
tree45ad44883ce4ab39095d3c833bcbd55583472bd5 /core/src/ch/asynk/rustanddust
parentdcbd6d747810954e6eef169294862c0dfbddd056 (diff)
downloadRustAndDust-60e66ef079c648f142724aaab317c7bce89fb39e.zip
RustAndDust-60e66ef079c648f142724aaab317c7bce89fb39e.tar.gz
Map0Hex: add IterableArray<Hex> objectives()
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map0Hex.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java b/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java
index 607a1e4..b0305f0 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map0Hex.java
@@ -69,6 +69,11 @@ public abstract class Map0Hex extends Board
return n;
}
+ public IterableArray<Hex> objectives()
+ {
+ return objectives;
+ }
+
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); }