Hi,
I am trying to create a pattern with a loop. I have this at the moment but I'm slightly stuck as this displays 9 coins I want 3 displaying:
I am trying to form a shape similar to this (diagonal line):
for(int i=709 ; i<=846 ; i+=60) {
for(int j=113 ; j <= 191 ; j += 36) {
addObject(new Coin(), i, j);
}
}addObject(new Coin(), 709, 191); addObject(new Coin(), 787, 149); addObject(new Coin(), 846, 113);
