diff --git a/SMIMS-Game/BreakingPlattform.class b/SMIMS-Game/BreakingPlattform.class index c5111c7..2718440 100644 Binary files a/SMIMS-Game/BreakingPlattform.class and b/SMIMS-Game/BreakingPlattform.class differ diff --git a/SMIMS-Game/BreakingPlattform.java b/SMIMS-Game/BreakingPlattform.java index ef60cdf..86aec90 100644 --- a/SMIMS-Game/BreakingPlattform.java +++ b/SMIMS-Game/BreakingPlattform.java @@ -25,7 +25,7 @@ public class BreakingPlattform extends Plattform { IsBreaking= true; //Greenfoot.playSound("...") - this.setImage("BreakingPlattform2.png"); + this.setImage("Breaking2.png"); } if(IsBreaking) diff --git a/SMIMS-Game/Enemy.ctxt b/SMIMS-Game/Enemy.ctxt index b6b41cc..214f50f 100644 --- a/SMIMS-Game/Enemy.ctxt +++ b/SMIMS-Game/Enemy.ctxt @@ -1,11 +1,7 @@ #BlueJ class context comment0.target=Enemy -comment1.params=targetX\ targetY -comment1.target=Enemy(int,\ int) +comment1.params= +comment1.target=void\ act() comment2.params= -comment2.target=void\ act() -comment3.params=targetX\ targetY -comment3.target=void\ moveToTargetLocation(int,\ int) -comment4.params= -comment4.target=void\ shootAtPlayer() -numComments=5 +comment2.target=void\ shootAtPlayer() +numComments=3 diff --git a/SMIMS-Game/Player.class b/SMIMS-Game/Player.class index 8693d15..2d06a0a 100644 Binary files a/SMIMS-Game/Player.class and b/SMIMS-Game/Player.class differ diff --git a/SMIMS-Game/UnactiveSpike.class b/SMIMS-Game/UnactiveSpike.class index a1f05c4..839ee59 100644 Binary files a/SMIMS-Game/UnactiveSpike.class and b/SMIMS-Game/UnactiveSpike.class differ diff --git a/SMIMS-Game/UnactiveSpike.java b/SMIMS-Game/UnactiveSpike.java index cb62ea0..42d98b6 100644 --- a/SMIMS-Game/UnactiveSpike.java +++ b/SMIMS-Game/UnactiveSpike.java @@ -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) diff --git a/SMIMS-Game/images/Breaking1.png b/SMIMS-Game/images/Breaking1.png new file mode 100644 index 0000000..6c93ee2 Binary files /dev/null and b/SMIMS-Game/images/Breaking1.png differ diff --git a/SMIMS-Game/images/Breaking2.png b/SMIMS-Game/images/Breaking2.png new file mode 100644 index 0000000..d7b8f1e Binary files /dev/null and b/SMIMS-Game/images/Breaking2.png differ diff --git a/SMIMS-Game/images/Spikes.png b/SMIMS-Game/images/Spikes.png new file mode 100644 index 0000000..28f786f Binary files /dev/null and b/SMIMS-Game/images/Spikes.png differ diff --git a/SMIMS-Game/images/Spikes2.png b/SMIMS-Game/images/Spikes2.png new file mode 100644 index 0000000..e9ef0df Binary files /dev/null and b/SMIMS-Game/images/Spikes2.png differ diff --git a/SMIMS-Game/images/Spikes3.png b/SMIMS-Game/images/Spikes3.png new file mode 100644 index 0000000..55afbdc Binary files /dev/null and b/SMIMS-Game/images/Spikes3.png differ diff --git a/SMIMS-Game/images/inactiveSpike.png b/SMIMS-Game/images/inactiveSpike.png new file mode 100644 index 0000000..6e35ec8 Binary files /dev/null and b/SMIMS-Game/images/inactiveSpike.png differ diff --git a/SMIMS-Game/images/singleSpike.png b/SMIMS-Game/images/singleSpike.png new file mode 100644 index 0000000..4a2ada1 Binary files /dev/null and b/SMIMS-Game/images/singleSpike.png differ