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

Method isContainer

code/src/java/pcgen/core/Equipment.java:2179–2182  ·  view source on GitHub ↗

Returns true if the Equipment can take children. @return true if the Equipment can take children.

()

Source from the content-addressed store, hash-verified

2177 * @return true if the Equipment can take children.
2178 */
2179 public boolean isContainer()
2180 {
2181 return get(ObjectKey.CONTAINER_WEIGHT_CAPACITY) != null;
2182 }
2183
2184 /**
2185 * Add an equipment modifier and its associated information eg:

Callers 4

addEquipmentMethod · 0.95
mergeEquipmentListMethod · 0.95
getTokenMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected