diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-24 19:29:30 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-24 19:29:30 +0100 |
commit | 6628886ef0a9df84e011a3203512b9200000fb64 (patch) | |
tree | 714e8363b1c5560b84d9299fdfaed53416e89c1d /core/src/ch/asynk/rustanddust/game | |
parent | 9fe93fed715e77fe0167bf148bf197c017aa41ee (diff) | |
download | RustAndDust-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.java | 5 |
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)); + } } |