diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-27 14:40:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-27 14:40:52 +0100 |
commit | 828816db241467c296d3559226cd5fe5494e5761 (patch) | |
tree | 32b4822bd0688e60f2093c7c9c846f4580778035 /core/src/ch/asynk/gdx/boardgame/Touchable.java | |
parent | 876fb5909fdb1924f4ee8355a0e7840911c6b9a2 (diff) | |
download | gdx-boardgame-828816db241467c296d3559226cd5fe5494e5761.zip gdx-boardgame-828816db241467c296d3559226cd5fe5494e5761.tar.gz |
ui : Assembly is dead, Element swallows touch() that now returns Element
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Touchable.java')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Touchable.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Touchable.java b/core/src/ch/asynk/gdx/boardgame/Touchable.java index fab7ab9..a12f711 100644 --- a/core/src/ch/asynk/gdx/boardgame/Touchable.java +++ b/core/src/ch/asynk/gdx/boardgame/Touchable.java @@ -1,7 +1,9 @@ package ch.asynk.gdx.boardgame; +import ch.asynk.gdx.boardgame.ui.Element; + public interface Touchable { - public boolean touch(float x, float y); + public Element touch(float x, float y); public boolean drag(float x, float y, int dx, int dy); } |