/** * Get a pipe separated list of creature types for this PC (defaults to humanoid). * * @return the list of types */ @Deprecated public static String getCritterType(CharacterDisplay display) { final StringBuilder critterType = new StringBuilder(); // Not too sure about this if, but that's what the previous code // implied... Race race = display.getRace(); if (race != null) { critterType.append(race.getType()); } else { critterType.append("Humanoid"); } for (PCTemplate t : display.getTemplateSet()) { final String aType = t.getType(); if (!"".equals(aType)) { critterType.append('|').append(aType); } } return critterType.toString(); }