So i want to use this func but just for random some place like just randoming for x(23, 43 ,65) y(0)
not randoming between 0-100, just x23, x43, x65
Anyone know how to deal with this?
int[] xs = new int[] { 23, 43, 65 }; int x = xs[Greenfoot.getRandomNumber(3)];