This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Color[][] color_grid = new Color[6][6]; //new array | |
| // imagine i just instantiated all the elements of grid | |
| Color temp; | |
| for (int y == 0; y < 5; y++){ | |
| temp = color_grid[y][0]; //for safekeeping | |
| for (int x == 0; x < 4; x++) | |
| color_grid[y][x] = color_grid[y][x+1]; |
NewerOlder