PowerUps/JumpBoost

neue Klassen: PowerUps, JumpBoostItem

Die aktivieren und das deaktivieren der PowerUps wird im Player durchgeführt.
This commit is contained in:
2026-09-15 11:33:47 +02:00
parent 81fb707beb
commit 9cef598196
13 changed files with 183 additions and 16 deletions
+3
View File
@@ -19,6 +19,7 @@ public class PlayerTestWorld extends World
super(600, 400, 1);
prepare();
}
/**
* Prepare the world for the start of the program.
* That is: create the initial objects and add them to the world.
@@ -29,5 +30,7 @@ public class PlayerTestWorld extends World
addObject(ground,260,375);
Player player = new Player();
addObject(player,264,237);
JumpBoostItem jumpBoostItem = new JumpBoostItem();
addObject(jumpBoostItem,206,200);
}
}