Stuff
public text v1 · immutable public int getPosicion(int color, int id) {
int j = 0;
while (j <= 15) {
if (salida[j] != null) {
if ((salida[j].getColor() == color) &
(salida[j].getIdentificador() == id)) {
return -2;
} else {
j++;
}
}
}
return -1;
}