diff options
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Tile.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Tile.java b/core/src/ch/asynk/gdx/boardgame/Tile.java index 37a6972..eb491a3 100644 --- a/core/src/ch/asynk/gdx/boardgame/Tile.java +++ b/core/src/ch/asynk/gdx/boardgame/Tile.java @@ -67,6 +67,11 @@ public class Tile implements Drawable this.overlays.centerOn(cx, cy); } + public void disableOverlays() + { + overlays.disableAll(); + } + public void enableOverlay(int i, boolean enable) { if (overlays != null) { |