| 9704 | } |
| 9705 | |
| 9706 | public void addAbility(CNAbilitySelection cnas, @SuppressWarnings("UnusedParameters") final Object owner, |
| 9707 | Object location) |
| 9708 | { |
| 9709 | //TODO Need to handle owner |
| 9710 | if (cnas.hasPrerequisites()) |
| 9711 | { |
| 9712 | conditionalFacet.add(id, cnas, location); |
| 9713 | } else |
| 9714 | { |
| 9715 | directAbilityFacet.add(id, cnas, location); |
| 9716 | } |
| 9717 | if (!importing) |
| 9718 | { |
| 9719 | AbilityUtilities.finaliseAbility(this, cnas); |
| 9720 | } |
| 9721 | } |
| 9722 | |
| 9723 | public void removeAbility(CNAbilitySelection cnas, @SuppressWarnings("UnusedParameters") Object owner, |
| 9724 | Object location) |