package mug12; import java.util.Vector; import java.util.Random; import java.util.Hashtable; public class Professor extends Person { public Professor(String _name, String _description, String _sex, String _major, Hashtable _verbs, Hashtable _attributes, Vector _inventory) { super(_name,_description,_sex,_major,_verbs,_attributes,_inventory); } public String recruit(Person person) { if(person.getWordAttribute(major) == "undeclared") { return "big speech to recruit the person..."; } else { return "thats a nice major"; } } //more coming as needed... } //Professor