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

Method hasMaxLevel

code/src/java/pcgen/core/PCClass.java:277–281  ·  view source on GitHub ↗

Identify if this class has a cap on the number of levels it is possible to take. @return true if a cap on levels exists, false otherwise.

()

Source from the content-addressed store, hash-verified

275 * @return true if a cap on levels exists, false otherwise.
276 */
277 public final boolean hasMaxLevel()
278 {
279 Integer ll = get(IntegerKey.LEVEL_LIMIT);
280 return ll != null && ll != Constants.NO_LEVEL_LIMIT;
281 }
282
283 /*
284 * REFACTOR This is BAD that this is referring to PCLevelInfo - that gets

Callers 6

addLevelMethod · 0.95
validateAddLevelMethod · 0.80
giveClassesAwayMethod · 0.80
exchangeLevelsMethod · 0.80
parseRepeatClassLevelMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected