From 2b56d72aa233a2c4809e28129080f30d70fc58ea Mon Sep 17 00:00:00 2001 From: jkonert Date: Tue, 31 May 2022 08:22:08 +0200 Subject: [PATCH] fixed small syntax issue with missing this. --- GameProject/src/playground/BreakoutLevelBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameProject/src/playground/BreakoutLevelBase.java b/GameProject/src/playground/BreakoutLevelBase.java index 0a67890..79ddd44 100644 --- a/GameProject/src/playground/BreakoutLevelBase.java +++ b/GameProject/src/playground/BreakoutLevelBase.java @@ -127,7 +127,7 @@ public abstract class BreakoutLevelBase extends Playground { if (this.ego.collisionDetection(ball)) { logger.trace("Collision detected of ball and ego"); - actionIfBallHitsEgo(this.ball, this.ego); + this.actionIfBallHitsEgo(this.ball, this.ego); } }