how to draw in greenfoot?
// ex. (get reference to world background image) GreenfootImage bg = getBackground();
// ex. (to prepare to draw in green) bg.setColor(Color.GREEN);
// ex. (fill a rectangle of size (100, 30) starting at (20, 20) in the image) bg.fillRect(20, 20, 100, 30);