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

Method getCost

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

Source from the content-addressed store, hash-verified

1482 }
1483
1484 @Override
1485 public float getCost(EquipmentFacade equipment)
1486 {
1487 if (equipment instanceof Equipment)
1488 {
1489 return ((Equipment) equipment).getCost(pc).floatValue();
1490 }
1491 return 0;
1492 }
1493
1494 @Override
1495 public float getWeight(EquipmentFacade equipment)

Callers

nothing calls this directly

Calls 2

floatValueMethod · 0.80
getCostMethod · 0.65

Tested by

no test coverage detected