Hi, first excuse my writing ( i'm French).
This must be really easy but I'm not able to use the class drawPolygon because I just barely studied arrays at school, and only had 2 hours of greenfoot with the teacher.
I tried to code this but it doesn't work (I filled the arrays before) :
" i=0;
while (i != nPoints) {
Image.drawPolygon(xPoints , yPoints ,nPoints);
i=i+1; }
"
Could anyone please give me an exemple of the method ?