package mug12; import java.util.Hashtable; /** * A noun is a person, place, or thing. Included as a * super-interface just for the fun of it. * * @author CSC152 2004F */ public interface Noun { /** * Get the name of this thing. Every thing is supposed to have a * unique name. */ public String getName(); /** * Get a description of the object, which can then be presented * to the user. */ public String describe(); /** *finds the verbs that can be performed on said object */ public Hashtable verbs(); /* *Returns an array of the strings needed to carry out the action */ public Integer checkVerb(String verb); } // interface Noun