(CNAbility langbonus, Map<PersistentTransitionChoice, CDOMObject> ptcSources, Language l, Object actor)
| 5802 | } |
| 5803 | |
| 5804 | private void processActor(CNAbility langbonus, Map<PersistentTransitionChoice, CDOMObject> ptcSources, Language l, |
| 5805 | Object actor) |
| 5806 | { |
| 5807 | if (actor instanceof CNAbility) |
| 5808 | { |
| 5809 | thePC.addSavedAbility(new CNAbilitySelection(langbonus, l.getKeyName()), UserSelection.getInstance(), |
| 5810 | UserSelection.getInstance()); |
| 5811 | } |
| 5812 | else if (actor instanceof PersistentTransitionChoice) |
| 5813 | { |
| 5814 | PersistentTransitionChoice<Language> ptc = (PersistentTransitionChoice<Language>) actor; |
| 5815 | ptc.restoreChoice(thePC, ptcSources.get(ptc), l); |
| 5816 | } |
| 5817 | else |
| 5818 | { |
| 5819 | warnings.add("Internal Error: Language actor of " + actor.getClass() + " is not understood"); |
| 5820 | } |
| 5821 | } |
| 5822 | |
| 5823 | /** |
| 5824 | * Set the source of the domain. See getDomainSource() for details. |
no test coverage detected