public ConnectionGene(ConnectionGene Connection) { if (Connection != null) { this.InputNode = Connection.GetInputNode(); this.OutputNode = Connection.GetOutputNode(); this.Weight = Connection.GetWeight(); this.IsEnabled = Connection.GetEnabled(); this.Innovation = Connection.GetInnovation(); } }