+Breaking Plattforms Spawn

This commit is contained in:
2026-09-17 11:39:38 +02:00
parent 1fbc555d31
commit dc85fd679b
6 changed files with 62 additions and 92 deletions
+4
View File
@@ -108,6 +108,10 @@ public class MyWorld extends World
{
addObject(new BreakingPlattform(50), 1+Greenfoot.getRandomNumber(398), 6); //Nach Links bewegende Plattform
}
if(Greenfoot.getRandomNumber(100000)>=99750)
{
addObject(new SpikedPlattform(100), 1+Greenfoot.getRandomNumber(398), 6); //Nach Links bewegende Plattform
}
}
public void spawnItems(){