public LinedefProperties(Linedef l) { if (l.Front != null) { front = new SidedefProperties(l.Front); } else { front = null; } if (l.Back != null) { back = new SidedefProperties(l.Back); } else { back = null; } flags = l.GetFlags(); action = l.Action; activate = l.Activate; tag = l.Tag; args = (int[])(l.Args.Clone()); fields = new UniFields(l.Fields); }
public LinedefProperties(Linedef l) : base(l.Fields, MapElementType.LINEDEF) { front = (l.Front != null ? new SidedefProperties(l.Front) : null); back = (l.Back != null ? new SidedefProperties(l.Back) : null); flags = l.GetFlags(); action = l.Action; activate = l.Activate; tags = new List <int>(l.Tags); //mxd args = (int[])(l.Args.Clone()); }
public LinedefProperties(Linedef line) { Front = (line.Front != null ? new SidedefProperties(line.Front) : null); Back = (line.Back != null ? new SidedefProperties(line.Back) : null); Flags = line.GetFlags(); }