+Breaking Plattforms Spawn
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user