/** * a room in the house, it is a child class of AdvancedRoom * * Joe Rivard * 4/13/03 */ public class Kitchen extends AdvancedRoom { /** * returns the short description of the room * @return String, the short description of the room */ public String shortDescription() { return "You are in the Kitchen"; } /** * returns a string of the room in a specified direction * @param String , the direction being moved */ public String next(String n) { String s = ""; if(n.equals("east")) s = "livingroom"; else if(n.equals("south")) s = "laundryroom"; return s; } }