Hi all!

Basically, I’m trying to build an overlapping drawing that is dependent on which step the user selects. For example:

Step 1: A line.

Step 2: A line and a circle.

Step 3: A line and a circle and a square.

Step 4: A line and a circle and a square and another line.

etc… (and each of these shapes are at a predesignated set of coordinates.)

I was thinking that each of these shapes would be placed within their own respective methods, and then each method-call would be placed within an array of methods. So, when a user selects a step (say, “Step 3”) then I could loop through all the methods up to, but not exceeding, the specified method (thus, drawing a line and a circle and a square, but stopping there.)

Is this sort of thing possible, either in the way I described or by some other means?

Thanks ahead of time for any help!