MCPcopy Create free account
hub / github.com/PCGen/pcgen / getWeight

Method getWeight

code/src/java/pcgen/gui2/facade/Gui2InfoFactory.java:1494–1503  ·  view source on GitHub ↗
(EquipmentFacade equipment)

Source from the content-addressed store, hash-verified

1492 }
1493
1494 @Override
1495 public float getWeight(EquipmentFacade equipment)
1496 {
1497 if (equipment instanceof Equipment)
1498 {
1499 Float weight = ((Equipment) equipment).getWeight(pc);
1500 return (float) Globals.getGameModeUnitSet().convertWeightToUnitSet(weight);
1501 }
1502 return 0;
1503 }
1504
1505 @Override
1506 public String getLevelAdjustment(PCTemplate template)

Callers

nothing calls this directly

Calls 3

getGameModeUnitSetMethod · 0.95
getWeightMethod · 0.65

Tested by

no test coverage detected