Example #1
0
        private void PrepareRegisterDependentNode(TechNode dependentNode)
        {
            if (this.dependentNodes == null)
            {
                this.dependentNodes = new List <TechNode>();
            }

            this.dependentNodes.Add(dependentNode);
        }
Example #2
0
 public void SetRequiredNode <TTechNode>()
     where TTechNode : TechNode <TProtoTechGroup>, new()
 {
     this.requiredNode = GetNode <TTechNode>();
 }
Example #3
0
 protected abstract void PrepareTechNode(
     out TechNode requiredNode,
     out IReadOnlyTechNodeEffects effects);
Example #4
0
 public override void PrepareEffect(TechNode techNode)
 {
     this.Recipe.PrepareProtoSetLinkWithTechNode(techNode);
 }
Example #5
0
 private void PrepareRegisterDependentNode(TechNode dependentNode)
 {
     this.dependentNodes ??= new List <TechNode>();
     this.dependentNodes.Add(dependentNode);
 }
 public abstract void PrepareEffect(TechNode techNode);