I am making two blobs on the screen, however i want the option of having 2 x axis in where they both start.The values are 30 and 470 , the y axis im ok with.
int xleftright = Math.abs(generator.nextInt()) % 2 + 1 ;
that will make the int either be one or two, i want to make another int(x_pos) to be able to be random in which value it chooses, compredae? either 30 or 470 values, i have tried the if else statement to try to attach it to the int be to no avail, any help would be great.