Work through the following steps to set up a method that takes a single parameter:
Step 1: Make sure world is selected in Alice's top left pane.
Step 2: In the bottom left pane, create a new method by clicking on the create new method button.
Step 3: Call the new method dance in the middle. Once you've clicked ok, you should see a new tab in the code area called world.dance in the middle. Your my first method is still there - click on the tabs to see each.
Step 4: We need to set up the mechanism that lets us specify which character is to do the dance. We need to create a parameter. First, make sure the world.dance in the middle tab is selected
Step 5: Now click create new parameter button, over on the right side. Call it dancer.
Step 6: Set the Type of the parameter to be Object.
Once you've done all that, your method should look like this: