Hello,
Iam new to Java and Greenfoot, and i want to create my own World.
Can anyone tell me how i can give a certain cell a color?
I got a 8x8 field, and i just want 3x8 to have the color Blue.
How can i fill these specific cells?
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)
getBackground().setColor(java.awt.Color.blue); getBackground().fillRect(/* startX, startY, lenX, lenY */);