Seu buggle decidiu plantar umas flores no pote onde vive. Você tem que ajudar ele a reproduzir o desenho dos sonhos dele (verifique a aba "Objetivo" para ver o sonho).
For that, you have to write a growFlowers()
method that does
not take any parameter and does not return any result. You could probably
make it without defining this method, but this is part of the assignment.
Also, you should try to decompose this complex drawing in sub-steps so that your code remains short and easy to read. A method to draw one flower of the color passed in parameter sounds like a good start, but it is probably not enough.
Para sua informação, este desenho usa cinco cores que estão listadas
abaixo. [!java|scala|c]o tipo de dados destas constantes é
Cor
, que naturalmente descreve uma cor particular.[/!]
[!scala|java|python]Color.[/!]RED
[!scala|java|python]Color.[/!]PINK
[!scala|java|python]Color.[/!]CYAN
[!scala|java|python]Color.[/!]ORANGE
[!scala|java|python]Color.[/!]GREEN
[!scala|java|python]Color.[/!]YELLOW