Colours Spielername Abfrage Debug 2

pull/74/head
Zocker1999NET 8 years ago
parent ce5d24e653
commit c8ad76e871

@ -102,7 +102,7 @@ public class Colours extends World implements ButtonEvent
{ {
color[x] = sw; color[x] = sw;
pn[x]=getName(x,"Schwarz"); pn[x]=getName(x,"Schwarz");
if(pn[x] != "") { if(pn[x].length <= 0) {
x+=1; x+=1;
possw = false; possw = false;
} }
@ -111,7 +111,7 @@ public class Colours extends World implements ButtonEvent
{ {
color[x] = bl; color[x] = bl;
pn[x]=getName(x,"Blau"); pn[x]=getName(x,"Blau");
if(pn[x] != "") { if(pn[x].length <= 0) {
x+=1; x+=1;
posbl = false; posbl = false;
} }
@ -120,7 +120,7 @@ public class Colours extends World implements ButtonEvent
{ {
color[x] = gr; color[x] = gr;
pn[x]=getName(x,"Grün"); pn[x]=getName(x,"Grün");
if(pn[x] != "") { if(pn[x].length <= 0) {
x+=1; x+=1;
posgr = false; posgr = false;
} }
@ -129,7 +129,7 @@ public class Colours extends World implements ButtonEvent
{ {
color[x] = rt; color[x] = rt;
pn[x]=getName(x,"Rot"); pn[x]=getName(x,"Rot");
if(pn[x] != "") { if(pn[x].length <= 0) {
x+=1; x+=1;
posrt = false; posrt = false;
} }
@ -138,7 +138,7 @@ public class Colours extends World implements ButtonEvent
{ {
color [x] = gb; color [x] = gb;
pn[x]=getName(x,"Gelb"); pn[x]=getName(x,"Gelb");
if(pn[x] != "") { if(pn[x].length <= 0) {
x+=1; x+=1;
posgb = false; posgb = false;
} }
@ -147,7 +147,7 @@ public class Colours extends World implements ButtonEvent
{ {
color [x] = li; color [x] = li;
pn[x]=getName(x,"Lila"); pn[x]=getName(x,"Lila");
if(pn[x] != "") { if(pn[x].length <= 0) {
x+=1; x+=1;
posli = false; posli = false;
} }

Loading…
Cancel
Save