summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-31 14:12:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-31 14:12:31 +0100
commit3b79d24ed2e1a75034e6cc3b757d267e567c97fc (patch)
tree3114b958cd6df8cca7904187c27f7a351cc399bf
parentbbc7251d80e370adeec447f3e04460ec0146eabe (diff)
downloadRustAndDust-3b79d24ed2e1a75034e6cc3b757d267e567c97fc.zip
RustAndDust-3b79d24ed2e1a75034e6cc3b757d267e567c97fc.tar.gz
Tile: implements Iterable<Pawn>
-rw-r--r--core/src/ch/asynk/tankontank/engine/Tile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Tile.java b/core/src/ch/asynk/tankontank/engine/Tile.java
index 21c8168..5ba6e1b 100644
--- a/core/src/ch/asynk/tankontank/engine/Tile.java
+++ b/core/src/ch/asynk/tankontank/engine/Tile.java
@@ -15,7 +15,7 @@ import ch.asynk.tankontank.engine.Board;
import ch.asynk.tankontank.engine.gfx.Drawable;
import ch.asynk.tankontank.engine.gfx.StackedImages;
-public abstract class Tile implements Drawable, Disposable
+public abstract class Tile implements Drawable, Disposable, Iterable<Pawn>
{
protected int col;
protected int row;