This lecture is about how you can create your own methods to add features to the robots. Methods can be used to add new commands to the Robots. They can also be used to break a problem into more manageable chunks.
Here is an example Robot, EightWalker, defined in the file EightWalker.java. A new type of robot is defined (by creating a class that extends Robot) A method, move8() is defined by executing 8 move() instructions. An example of the use of the extra method is contained in the file TestEight.java.
Here is an addendum showing various ways of adding more than one method to a robot notes.
Here is a summary.