Creating an array of objects
Hi, i am trying to make an array that creates a 6 slot grid of squares that i can reference and change the colours.
EasyGraphics class creates a graphics window and it has two methods setColour that changes the shape colour and fillRectangle that creates the shape.
I tried this, but i does not work properly! I think i need to pass a reference to the grpahics window to the method in the array ?? Please Help:)
grid = new EasyGraphics(400,400);