public void setDisplayName(String name) { displayName = name; setInteractiveName(TextParser.stripFormatting(name)); }
/** * Set desination and display name, but allow the MUD to automatically determine the interactive * name. It attempts to strip all ANSI format tags from the display name and use that as the * interactive name. * * @param dest * @param displayName */ public Portal(Room dest, String displayName) { destination = dest; this.displayName = displayName; this.interactiveName = TextParser.stripFormatting(displayName); }