Пример #1
0
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     foreach (Description d in descriptions)
     {
         ConditionsController.updateVarFlagSummary(varFlagSummary, d.getConditions());
     }
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     // Update the summary with conditions and both blocks of effects
     ConditionsController.updateVarFlagSummary(varFlagSummary, timer.getInitCond());
     ConditionsController.updateVarFlagSummary(varFlagSummary, timer.getEndCond());
     EffectsController.updateVarFlagSummary(varFlagSummary, timer.getEffects());
     EffectsController.updateVarFlagSummary(varFlagSummary, timer.getPostEffects());
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     ConditionsController.updateVarFlagSummary(varFlagSummary, exit.getConditions());
     if (exit.getEffects() != null)
     {
         EffectsController.updateVarFlagSummary(varFlagSummary, exit.getEffects());
     }
     if (exit.getPostEffects() != null)
     {
         EffectsController.updateVarFlagSummary(varFlagSummary, exit.getPostEffects());
     }
     if (exit.getNotEffects() != null)
     {
         EffectsController.updateVarFlagSummary(varFlagSummary, exit.getNotEffects());
     }
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     // Update the flag summary with the effects of the action
     EffectsController.updateVarFlagSummary(varFlagSummary, action.getEffects());
     if (action.getNotEffects() != null)
     {
         EffectsController.updateVarFlagSummary(varFlagSummary, action.getNotEffects());
     }
     ConditionsController.updateVarFlagSummary(varFlagSummary, action.getConditions());
     if (action.getType() == Action.CUSTOM_INTERACT || action.getType() == Action.CUSTOM)
     {
         foreach (ResourcesDataControl resourcesDataControl in resourcesDataControlList)
         {
             resourcesDataControl.updateVarFlagSummary(varFlagSummary);
         }
     }
 }
        public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
        {
            // Check every node on the conversation
            List <ConversationNode> conversationNodes = graphConversation.getAllNodes();

            foreach (ConversationNode conversationNode in conversationNodes)
            {
                // Update the summary with the effects, if avalaible
                if (conversationNode.hasEffects())
                {
                    EffectsController.updateVarFlagSummary(varFlagSummary, conversationNode.getEffects());
                }

                // Update the summary with the conditions of the lines
                for (int i = 0; i < conversationNode.getLineCount(); i++)
                {
                    ConditionsController.updateVarFlagSummary(varFlagSummary, conversationNode.getLineConditions(i));
                }
            }
        }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     // Update the flag summary with the conditions
     ConditionsController.updateVarFlagSummary(varFlagSummary, elementReference.getConditions());
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     ConditionsController.updateVarFlagSummary(varFlagSummary, globalState);
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     ConditionsController.updateVarFlagSummary(varFlagSummary, barrier.getConditions());
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     actionsListDataControl.updateVarFlagSummary(varFlagSummary);
     ConditionsController.updateVarFlagSummary(varFlagSummary, activeArea.getConditions());
     descriptionsController.updateVarFlagSummary(varFlagSummary);
 }
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     // Update the flag summary with the conditions
     ConditionsController.updateVarFlagSummary(varFlagSummary, resources.getConditions());
 }
Пример #11
0
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     ConditionsController.updateVarFlagSummary(varFlagSummary, conversationLineConditionsController.Conditions);
 }
Пример #12
0
 public override void updateVarFlagSummary(VarFlagSummary varFlagSummary)
 {
     // Update the flag summary with the exits, item and character references
     ConditionsController.updateVarFlagSummary(varFlagSummary, milestone.getConditions());
 }