summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Touchable.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-12-18 23:06:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2019-12-18 23:06:14 +0100
commit797c4defd7bf0b6807a796278180bb01a8a96805 (patch)
tree4684fced4c178888394216981076950de32f6c24 /core/src/ch/asynk/gdx/boardgame/Touchable.java
parent888f704e5a6809d2b42b3c08ef143525a6f2780a (diff)
downloadgdx-boardgame-797c4defd7bf0b6807a796278180bb01a8a96805.zip
gdx-boardgame-797c4defd7bf0b6807a796278180bb01a8a96805.tar.gz
UI : add drag(...) to Touchable, Element and Assembly
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Touchable.java')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Touchable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Touchable.java b/core/src/ch/asynk/gdx/boardgame/Touchable.java
index 0fd99d0..fab7ab9 100644
--- a/core/src/ch/asynk/gdx/boardgame/Touchable.java
+++ b/core/src/ch/asynk/gdx/boardgame/Touchable.java
@@ -3,4 +3,5 @@ package ch.asynk.gdx.boardgame;
public interface Touchable
{
public boolean touch(float x, float y);
+ public boolean drag(float x, float y, int dx, int dy);
}