public Subsector(World world,Sector sector) { if (world == null) throw new ArgumentNullException("world"); if (sector == null) throw new ArgumentNullException("sector"); if (sector.World != world) throw new ArgumentException("Sector is from another world."); this.world = world; this.sector = sector; this.segs = new List<Seg>(); }
public Sidedef(World world,Sector sector) { if (world == null) throw new ArgumentNullException("world"); if (sector == null) throw new ArgumentNullException("sector"); if (sector.World != world) throw new ArgumentException("Sector is from another world."); this.world = world; // TODO :: sector // TODO :: xoffset // TODO :: yoffset }