Fügt Leben zum Spieler, ein HealthItem und eine Healthbar hinzu.

This commit is contained in:
2026-09-16 15:57:46 +02:00
parent da0a97adfe
commit 8477d63e51
13 changed files with 111 additions and 30 deletions
+2
View File
@@ -50,6 +50,8 @@ public class MyWorld extends World
plattform2.setLocation(320,367);
plattform2.setLocation(312,371);
plattform2.setLocation(308,382);
Healthbar healthbar = new Healthbar();
addObject(healthbar,50,50);
}
public void act()