Replaces the given old PCClass stored in this ClassFacet with the given new PCClass for the Player Character represented by the given CharID. @param id The CharID representing the Player Character from which the given old PCClass should be replaced @param oldClass T
(CharID id, PCClass oldClass, PCClass newClass)
| 204 | * CharID |
| 205 | */ |
| 206 | public void replaceClass(CharID id, PCClass oldClass, PCClass newClass) |
| 207 | { |
| 208 | ClassInfo info = getClassInfo(id); |
| 209 | if (info != null) |
| 210 | { |
| 211 | info.replace(oldClass, newClass); |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Returns a non-null copy of the Set of PCClass objects in this ClassFacet |