Just as before, to use a method we need to add one or more method calls. We'll do this in the my first method method.
Step 10. Select the my first method tab (or click the edit button next to the my first method tile on the lower left pane). There should still be all the code in there that gets the girl doing her dance.
Step 11. Drag the dance in the middle tile from the lower left pane across into the body of my first method inserting it at the very beginning, before all the girl's actions.
Step 12. When you let go of the tile, a menu will pop up. Just as when you select a move operation, a menu pops up asking you for the direction and then the amount, so Alice is now asking you which character you want to pass to the method. Mouse over the zombie and then in the new menu that pops up, select/click on the entire zombie.
You should now have a call to the method dance in the middle that looks like this:
Notice how the method call explicitly shows you the specific actor or dancer that is to be used in place of the general actor/dancer you specified in the method itself.
You've now set up enough to try it all out and see if it works.
[Q4.6.1] Before you do so, what exactly do you think is now going to happen when you press Play? Do you have an idea?
Well, try it now.
Done it? Was it as you expected? You should have seen the zombie move in and then move out again, and then the girl doing her dance just as before. After all, you didn't remove that code.
Take a look at the first line again - the call to the dance in the middle method. See the structure - the method name and then the parameter name with the specific value ("zombie") that is being passed in to the method.
Now let's finish it off...