In the following if clause what does boolean _tmp = selectedLightBalls[i] == 0 mean
I understand that _tmp is the name of a boolean variable but I do not understand
the = selectedLightBalls[i] == 0
I understand that _tmp is the name of a boolean variable but I do not understand
the = selectedLightBalls[i] == 0
Code:
if(myColor == white){
boolean _tmp = selectedLightBalls[i] == 0;
}
else
{
boolean _tmp1 = selectedDarkBalls[i] == 0;
}