neue Platforms

This commit is contained in:
2026-09-16 17:45:04 +02:00
parent fe11e83e78
commit 1ed7e0ce1f
13 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ public class UnactiveSpike extends Actor
MyWorld theWorld= (MyWorld) this.getWorld();
Spike BeispielSpike=new Spike(1);
GreenfootImage SpikeImage= BeispielSpike.getImage();
theWorld.addObject(new Spike(speed), this.getX(), (this.getY()- this.getImage().getHeight()/2)-10); //die Zahl Minus damit ist endlich passt
theWorld.addObject(new Spike(speed), this.getX(), (this.getY()- this.getImage().getHeight()/2)-2); //die Zahl Minus damit ist endlich passt
geloescht=true;
}
if(geloescht)