/** 
 Program: 	Script object
 Purpose: 	contains lines for script 
 @author 	john@december.com
 @version 	1.05; 23 Jul 1995 
 */

class Script {

   private String scriptTitle;        

   Script () { }                       

   Script (String title) { 
      scriptTitle = title;
   }

   public boolean doneScript(int line){  
      return (line == scriptLines.length);
   }

   public String getTitle(){  
      return (scriptTitle);
   }

   public String getLine(int line){  
      return (scriptLines[line]);
   }

   private String scriptLines[] = {
      "Hi.",
      "Hi there.",
      "What time is it?",
      "Now.",
      "This is silly.",
      "How much?",
      "Too much.", 
      "And so?",
      "So what.",
      "I have to go.",
      "The end.",
      "The end."
      };
}
