Example #1
0
 /**
  * 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());
 }
Example #2
0
 /**
  * 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();
 }