Esempio n. 1
0
 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>();
 }
Esempio n. 2
0
 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
 }