Drives the necessary selections for ADD tokens on a Player Character. Triggered when one of the Facets to which AddFacet listens fires a DataFacetChangeEvent to indicate a CDOMObject was added to a Player Character. @param dfce The DataFacetChangeEvent containing the information about t
(DataFacetChangeEvent<CharID, CDOMObject> dfce)
| 57 | * change |
| 58 | */ |
| 59 | @Override |
| 60 | public void dataAdded(DataFacetChangeEvent<CharID, CDOMObject> dfce) |
| 61 | { |
| 62 | CharID id = dfce.getCharID(); |
| 63 | PlayerCharacter aPC = trackingFacet.getPC(id); |
| 64 | if (!aPC.isImporting()) |
| 65 | { |
| 66 | CDOMObjectUtilities.addAdds(dfce.getCDOMObject(), aPC); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Triggered when one of the Facets to which AddFacet listens fires a |
nothing calls this directly
no test coverage detected