summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Tile.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Tile.java b/core/src/ch/asynk/gdx/boardgame/Tile.java
index d051cef..de53a4e 100644
--- a/core/src/ch/asynk/gdx/boardgame/Tile.java
+++ b/core/src/ch/asynk/gdx/boardgame/Tile.java
@@ -38,6 +38,14 @@ public class Tile implements Drawable
}
}
+ public void enableOverlay(int i, Orientation o)
+ {
+ if (overlays != null) {
+ overlays.setRotation(i, o.r());
+ overlays.enable(i, true);
+ }
+ }
+
@Override public String toString()
{
return "[" + x + ", " + y + "]";