public void setWire(Wire w) { this.lonelyWire = w; }
public void addConnection(Wire w) { this.connetions.Add(w); }
public override void AddConnection(Wire wire) { connetions.Add(wire); energyRecived += wire.GetActivCurrent(); connetions[0].SetActivCurrent(energyRecived); }
public void SetConcentreWire(Wire concentredWire) { connetions.Insert(0, concentredWire); }
public override void AddConnection(Wire wire) { connetions.Add(wire); }
public void SetPowerSupply(Wire powerSupply) { connetions.Insert(0, powerSupply); costByEnegieQtt = powerSupply.GetCost(); }
public abstract void AddConnection(Wire wire);