Player kann jetzt auf Platformen stehen (nicht mehr auf Ground)

This commit is contained in:
2026-09-15 19:23:58 +02:00
parent 95e96d7e44
commit e345d13140
3 changed files with 1 additions and 7 deletions
Binary file not shown.
-6
View File
@@ -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
+1 -1
View File
@@ -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)
{