Ejemplo n.º 1
0
 public Block(Blockmap blockmap)
 {
     if (blockmap == null)
         throw new ArgumentNullException("blockmap");
     this.blockmap = blockmap;
     this.firstactor = null;
     this.linedefs = new List<Linedef>();
 }
Ejemplo n.º 2
0
 public World()
 {
     this.thinkers = new Chain <Thinker>();
     this.vertices = new List <Vertex>();
     this.sectors  = new List <Sector>();
     this.sidedefs = new List <Sidedef>();
     this.linedefs = new List <Linedef>();
     this.things   = new List <Thing>();
     this.blockmap = null;
 }
Ejemplo n.º 3
0
 public Block(Blockmap blockmap)
 {
     if (blockmap == null)
     {
         throw new ArgumentNullException("blockmap");
     }
     this.blockmap   = blockmap;
     this.firstactor = null;
     this.linedefs   = new List <Linedef>();
 }
Ejemplo n.º 4
0
 public World()
 {
     this.thinkers = new Chain<Thinker>();
     this.vertices = new List<Vertex>();
     this.sectors = new List<Sector>();
     this.sidedefs = new List<Sidedef>();
     this.linedefs = new List<Linedef>();
     this.things = new List<Thing>();
     this.blockmap = null;
 }