diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-02 11:40:12 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-02 11:40:12 +0100 |
commit | 60e66ef079c648f142724aaab317c7bce89fb39e (patch) | |
tree | 45ad44883ce4ab39095d3c833bcbd55583472bd5 /core/src | |
parent | dcbd6d747810954e6eef169294862c0dfbddd056 (diff) | |
download | RustAndDust-60e66ef079c648f142724aaab317c7bce89fb39e.zip RustAndDust-60e66ef079c648f142724aaab317c7bce89fb39e.tar.gz |
Map0Hex: add IterableArray<Hex> objectives()
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map0Hex.java | 5 |
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); } |