(final String aKey)
| 379 | * during the construction of the PCClassLevel |
| 380 | */ |
| 381 | public final SubstitutionClass getSubstitutionClassKeyed(final String aKey) |
| 382 | { |
| 383 | List<SubstitutionClass> substitutionClassList = getListFor(ListKey.SUBSTITUTION_CLASS); |
| 384 | if (substitutionClassList == null) |
| 385 | { |
| 386 | return null; |
| 387 | } |
| 388 | |
| 389 | for (SubstitutionClass sc : substitutionClassList) |
| 390 | { |
| 391 | if (sc.getKeyName().equals(aKey)) |
| 392 | { |
| 393 | return sc; |
| 394 | } |
| 395 | } |
| 396 | |
| 397 | return null; |
| 398 | } |
| 399 | |
| 400 | public void setLevel(final int newLevel, final PlayerCharacter aPC) |
| 401 | { |
no test coverage detected