コード例 #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;
 }