From b3c21d9adacae9c3f65258f49249932efff4047b Mon Sep 17 00:00:00 2001 From: SariusRu Date: Sat, 2 Jul 2016 17:53:16 +0200 Subject: [PATCH] 2 Hab was Vergessen --- Colours.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Colours.java b/Colours.java index fcd1200..c763e19 100644 --- a/Colours.java +++ b/Colours.java @@ -71,7 +71,7 @@ public class Colours extends World implements ButtonEvent pn[x]="Schwarz"; x+=1; possw = false; - System.out.println("HI"); + } if (b == blau && posbl == true) { @@ -79,7 +79,7 @@ public class Colours extends World implements ButtonEvent pn[x] = "Blau"; x+=1; posbl = false; - System.out.println("HI"); + } if (b == grün && posgr == true ) { @@ -87,7 +87,7 @@ public class Colours extends World implements ButtonEvent pn[x]="Grün"; x+=1; posgr = false; - System.out.println("HI"); + } if ( b == rot && posrt == true) { @@ -95,7 +95,7 @@ public class Colours extends World implements ButtonEvent pn[x]="Rot"; x+=1; posrt = false; - System.out.println("HI"); + } if ( b == gelb && posgb == true) { @@ -103,7 +103,7 @@ public class Colours extends World implements ButtonEvent pn[x]="Gelb"; x+=1; posgb = false; - System.out.println("HI"); + } if ( b == lila && posli == true) { @@ -111,7 +111,7 @@ public class Colours extends World implements ButtonEvent pn[x]="Lila"; x+=1; posli = false; - System.out.println("HI"); + } if ( b == weiter && x >=2 ) { @@ -126,8 +126,6 @@ public class Colours extends World implements ButtonEvent World m = new Map(newcolor,x,newpn); Greenfoot.setWorld(m); - System.out.println("HIFertig"); - System.out.println(x); } }