diff --git a/SMIMS-Game/Player.class b/SMIMS-Game/Player.class index 5090825..17d46e2 100644 Binary files a/SMIMS-Game/Player.class and b/SMIMS-Game/Player.class differ diff --git a/SMIMS-Game/Player.ctxt b/SMIMS-Game/Player.ctxt index 3cb5fcb..5208ed6 100644 --- a/SMIMS-Game/Player.ctxt +++ b/SMIMS-Game/Player.ctxt @@ -16,9 +16,3 @@ comment6.target=void\ handlePowerUps() comment7.params=duration\ type comment7.target=void\ reveivePowerUp(int,\ java.lang.String) numComments=8 -comment3.target=void\ jump() -comment4.params= -comment4.target=void\ fall() -comment5.params= -comment5.target=boolean\ collision() -numComments=6 diff --git a/SMIMS-Game/Player.java b/SMIMS-Game/Player.java index 2abc718..8f3d948 100644 --- a/SMIMS-Game/Player.java +++ b/SMIMS-Game/Player.java @@ -64,7 +64,7 @@ public class Player extends Actor setLocation(getX(), newY); - Actor ground = getOneIntersectingObject(Ground.class); + Actor ground = getOneIntersectingObject(Plattform.class); if (ground != null && verticalSpeed >= 0) {