예제 #1
0
파일: Block.cs 프로젝트: VenoMpie/DoomSharp
 public Block(Blockmap blockmap)
 {
     if (blockmap == null)
         throw new ArgumentNullException("blockmap");
     this.blockmap = blockmap;
     this.firstactor = null;
     this.linedefs = new List<Linedef>();
 }
예제 #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;
 }
예제 #3
0
 public Block(Blockmap blockmap)
 {
     if (blockmap == null)
     {
         throw new ArgumentNullException("blockmap");
     }
     this.blockmap   = blockmap;
     this.firstactor = null;
     this.linedefs   = new List <Linedef>();
 }
예제 #4
0
파일: World.cs 프로젝트: VenoMpie/DoomSharp
 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;
 }