import student.web.*; // ------------------------------------------------------------------------- /** * Write a one-sentence summary of your robot task class here. * Follow it with additional details about its purpose, how many * robots it creates, and how to use it. * * @author your-pid (and if in lab, partner's pid on same line) * @version (place the date here, in this format: yyyy.mm.dd) */ public class ComicTitleFinder implements WebBotTask { //~ Instance/static variables ............................................. // Change the type of this variable if you write your own custom // robot class. WebBot bot = null; //~ Methods ............................................................... // ---------------------------------------------------------- /** * Place a description of what this task accomplishes here. */ public void task() { /*# Initialize your robot the way you want: */ bot = new WebBot(); /*# add your statements here */ } // ---------------------------------------------------------- /** * This method provides access to the robot that carries out this * task. Change the return type of this method if you write * your own custom robot class. * @return The robot used by this task. */ public WebBot getRobot() { return bot; } }