summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-24 19:29:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-24 19:29:30 +0100
commit6628886ef0a9df84e011a3203512b9200000fb64 (patch)
tree714e8363b1c5560b84d9299fdfaed53416e89c1d /core/src/ch/asynk/rustanddust/game
parent9fe93fed715e77fe0167bf148bf197c017aa41ee (diff)
downloadRustAndDust-6628886ef0a9df84e011a3203512b9200000fb64.zip
RustAndDust-6628886ef0a9df84e011a3203512b9200000fb64.tar.gz
Zone: add method add(int, int)
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Zone.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Zone.java b/core/src/ch/asynk/rustanddust/game/Zone.java
index 1fcc4f6..43aabbe 100644
--- a/core/src/ch/asynk/rustanddust/game/Zone.java
+++ b/core/src/ch/asynk/rustanddust/game/Zone.java
@@ -12,4 +12,9 @@ public class Zone extends TileSet
{
super(map, n);
}
+
+ public void add(int col, int row)
+ {
+ add(((Map) board).getHex(col, row));
+ }
}