public override void GetInputs(List <VariableDefinition> inputs) { if (InstructionStore.IsInput(IndexVariable)) { inputs.Add(VariableDefinition.Create(IndexVariable.RootName, VariableType.Integer)); } }
public override void GetInputs(List <VariableDefinition> inputs) { if (InstructionStore.IsInput(Target)) { inputs.Add(VariableDefinition.Create <Mover>(Target.RootName)); } }
public override void GetInputs(List <VariableDefinition> inputs) { foreach (var condition in SortConditions) { if (InstructionStore.IsInput(condition)) { inputs.Add(VariableDefinition.Create(condition.RootName, VariableType.Empty)); } } }
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)); } } }
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); } } } }
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); }