summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/hud
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/hud')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Bg.java2
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/UnitDock.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Bg.java b/core/src/ch/asynk/tankontank/game/hud/Bg.java
index f862088..c88b985 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Bg.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Bg.java
@@ -27,7 +27,7 @@ public class Bg implements Drawable, Disposable
rect.height = h;
}
- public boolean contains(float x, float y)
+ public boolean hit(float x, float y)
{
return rect.contains(x, y);
}
diff --git a/core/src/ch/asynk/tankontank/game/hud/UnitDock.java b/core/src/ch/asynk/tankontank/game/hud/UnitDock.java
index c111165..5e76c8e 100644
--- a/core/src/ch/asynk/tankontank/game/hud/UnitDock.java
+++ b/core/src/ch/asynk/tankontank/game/hud/UnitDock.java
@@ -70,7 +70,7 @@ public class UnitDock extends Bg
}
@Override
- public boolean contains(float x, float y)
+ public boolean hit(float x, float y)
{
return scaledRect.contains(x, y);
}