jeudi 14 juillet 2016

Eine etwas andere if Abfrage !

jeudi 14 juillet 2016
Hallo ich wollte das abkürzen :
if ((x+1 == tx ^ x == tx ^ x-1 == tx) && (y+1 == ty ^ y == ty ^ y-1 == ty)){this.geheZufällig();};

in das :

if ((x^++x^--x)==tx && (y^++y^--y)==ty){this.geheZufällig();};

Fehler im Code gibt es nicht jedoch funktioniert der untere nicht!

Eine etwas andere if Abfrage !

0 commentaires:

Enregistrer un commentaire

 
◄Design by Pocket