/** * Get the CAPACITY sub token * * @param display * @return the CAPACITY sub token */ public static String getCapacityToken(CharacterDisplay display) { return Globals.getGameModeUnitSet().displayWeightInUnitSet(display.getMaxLoad().doubleValue()); }
/** * Get the WEIGHT sub token * * @param display * @return the WEIGHT sub token */ public static String getWeightToken(CharacterDisplay display) { return Globals.getGameModeUnitSet().displayWeightInUnitSet(display.totalWeight().doubleValue()) + Globals.getGameModeUnitSet().getWeightUnit(); }