Ok, so I have a 14x14 2d array, which is looped through, and squares are added to the world (In all positions). Each square has a different colour (colourNum is an integer inside of the class), and is set inside of the Square.class. How can I loop through all of the objects and check if they are all of the same colour?

