diff options
Diffstat (limited to 'core/src/ch/asynk/rustanddust/ui')
-rw-r--r-- | core/src/ch/asynk/rustanddust/ui/Widget.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/ui/Widget.java b/core/src/ch/asynk/rustanddust/ui/Widget.java index afcce67..38a89ae 100644 --- a/core/src/ch/asynk/rustanddust/ui/Widget.java +++ b/core/src/ch/asynk/rustanddust/ui/Widget.java @@ -31,6 +31,8 @@ public abstract class Widget implements Disposable, Drawable public float getHeight() { return rect.height; } public float getTop() { return rect.y + rect.height; } + public void update() { } + public void translate(float dx, float dy) { rect.x += dx; |