public override void replaceIdentifierReferences(string oldId, string newId) { actionsListDataControl.replaceIdentifierReferences(oldId, newId); conditionsController.replaceIdentifierReferences(oldId, newId); //1.4 descriptionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { EffectsController.replaceIdentifierReferences(oldId, newId, timer.getEffects()); EffectsController.replaceIdentifierReferences(oldId, newId, timer.getPostEffects()); initConditionsController.replaceIdentifierReferences(oldId, newId); endConditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (elementReference.getTargetId().Equals(oldId)) { elementReference.setTargetId(newId); } conditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (oldId.Equals(milestone.getId(), StringComparison.InvariantCultureIgnoreCase)) { milestone.setId(newId); } conditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (conversationLine.getName() == oldId) { conversationLine.setName(newId); } conversationLineConditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (globalState.getId().Equals(oldId)) { globalState.setId(newId); Controller.Instance.IdentifierSummary.deleteId <GlobalState>(oldId); Controller.Instance.IdentifierSummary.addId <GlobalState>(newId); } conditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (globalState.getId().Equals(oldId)) { globalState.setId(newId); Controller.getInstance().getIdentifierSummary().deleteGlobalStateId(oldId); Controller.getInstance().getIdentifierSummary().addGlobalStateId(newId); } controller.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (oldId.Equals(exit.getNextSceneId())) { exit.setNextSceneId(newId); } EffectsController.replaceIdentifierReferences(oldId, newId, exit.getEffects()); EffectsController.replaceIdentifierReferences(oldId, newId, exit.getPostEffects()); EffectsController.replaceIdentifierReferences(oldId, newId, exit.getNotEffects()); conditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { if (action.getType() == Action.CUSTOM_INTERACT || action.getType() == Action.CUSTOM) { // Iterate through the resources foreach (ResourcesDataControl resourcesDataControl in resourcesDataControlList) { resourcesDataControl.replaceIdentifierReferences(oldId, newId); } } // Only the "Give to" and "Use with" have item references if ((action.getType() == Action.GIVE_TO || action.getType() == Action.USE_WITH || action.getType() == Action.DRAG_TO || action.getType() == Action.CUSTOM_INTERACT) && action.getTargetId().Equals(oldId)) { action.setTargetId(newId); } EffectsController.replaceIdentifierReferences(oldId, newId, action.getEffects()); EffectsController.replaceIdentifierReferences(oldId, newId, action.getNotEffects()); // EffectsController.replaceIdentifierReferences( oldId, newId, action.getClickEffects( ) ); conditionsController.replaceIdentifierReferences(oldId, newId); }
public override void replaceIdentifierReferences(string oldId, string newId) { conditionsController.replaceIdentifierReferences(oldId, newId); }