summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Engagement.java1
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Statistics.java1
-rw-r--r--core/src/ch/asynk/tankontank/ui/OkCancel.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Engagement.java b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
index 9a70688..805b7d6 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Engagement.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
@@ -156,6 +156,7 @@ public class Engagement extends Patch implements Animation
rerollY = (d1Animation.getY() + d1Animation.getHeight() + VSPACING);
}
+ @Override
public boolean hit(float x, float y)
{
return rect.contains(x, y);
diff --git a/core/src/ch/asynk/tankontank/game/hud/Statistics.java b/core/src/ch/asynk/tankontank/game/hud/Statistics.java
index d481fae..93486c8 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Statistics.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Statistics.java
@@ -75,6 +75,7 @@ public class Statistics extends Patch
visible = true;
}
+ @Override
public boolean hit(float x, float y)
{
if (okBtn.hit(x, y))
diff --git a/core/src/ch/asynk/tankontank/ui/OkCancel.java b/core/src/ch/asynk/tankontank/ui/OkCancel.java
index 4a8507f..3ed64d6 100644
--- a/core/src/ch/asynk/tankontank/ui/OkCancel.java
+++ b/core/src/ch/asynk/tankontank/ui/OkCancel.java
@@ -78,6 +78,7 @@ public class OkCancel extends Patch
cancelBtn.visible = false;
}
+ @Override
public boolean hit(float x, float y)
{
if (okBtn.hit(x, y)) {