Il tuo buggle ha deciso di far fiorire un poco il vaso in cui vive. Devi aiutarlo a riprodurre il disegno dei suoi sogni (che puoi osservare nella scheda "Objective").
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.
For your information, this drawing uses five colors that are listed below.
[!java|scala|c]The data type of these constants is Color
, that
naturally describes a particular color.[/!]
[!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