From 03910af56d0dd6f49c9c911e7f89dae3665577ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 8 Jun 2020 23:10:00 +0200 Subject: Tile : add disableOverlays() --- core/src/ch/asynk/gdx/boardgame/Tile.java | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- cgit v1.1-2-g2b99