public Wire(Connection parentLine, Defs.Wire wireType) : base() { ParentLine = parentLine; Type = wireType; CurrentTexture = (int)Type; if (Type == Defs.Wire.Horizontal) { new Size(1, Wire.Thickness); } else { new Size(Wire.Thickness, 1); } }
public Wire(Size size, Position position, Connection parentLine, Defs.Wire wireType) : base(size, position) { ParentLine = parentLine; Type = wireType; CurrentTexture = (int)Type; }