예제 #1
0
 public override void GetInputs(List <VariableDefinition> inputs)
 {
     if (InstructionStore.IsInput(IndexVariable))
     {
         inputs.Add(VariableDefinition.Create(IndexVariable.RootName, VariableType.Integer));
     }
 }
예제 #2
0
 public override void GetInputs(List <VariableDefinition> inputs)
 {
     if (InstructionStore.IsInput(Target))
     {
         inputs.Add(VariableDefinition.Create <Mover>(Target.RootName));
     }
 }
예제 #3
0
 public override void GetInputs(List <VariableDefinition> inputs)
 {
     foreach (var condition in SortConditions)
     {
         if (InstructionStore.IsInput(condition))
         {
             inputs.Add(VariableDefinition.Create(condition.RootName, VariableType.Empty));
         }
     }
 }
예제 #4
0
 public override void GetInputs(List <VariableDefinition> inputs)
 {
     foreach (var item in Items)
     {
         if (InstructionStore.IsInput(item.Variables))
         {
             inputs.Add(VariableDefinition.Create(item.Variables.RootName, VariableType.Empty));
         }
     }
 }
예제 #5
0
 public override void GetInputs(List <VariableDefinition> inputs)
 {
     if (Creature.Generator != null)
     {
         foreach (var input in Creature.Generator.Inputs)
         {
             if (InstructionStore.IsInput(input))
             {
                 inputs.Add(input.Definition);
             }
         }
     }
 }
예제 #6
0
        public override void GetInputs(List <VariableDefinition> inputs)
        {
            for (var i = 0; i < Trainers.Count; i++)
            {
                var trainer = Trainers[i];

                if (InstructionStore.IsInput(trainer))
                {
                    inputs.Add(VariableDefinition.Create("Trainer" + i, VariableType.Store));
                }
            }

            base.GetInputs(inputs);
        }