Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="BSP"/> instance using the file referenced by <paramref name="file"/>. The
 /// <c>List</c>s in this class will be read and populated when accessed through their properties.
 /// </summary>
 /// <param name="file">A reference to the .BSP file.</param>
 public BSP(FileInfo file) : base(16)
 {
     reader   = new BSPReader(file);
     filePath = file.FullName;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new <see cref="BSP"/> instance pointing to the file at <paramref name="filePath"/>. The
 /// <c>List</c>s in this class will be read and populated when accessed through their properties.
 /// </summary>
 /// <param name="filePath">The path to the .BSP file.</param>
 public BSP(string filePath) : base(16)
 {
     reader        = new BSPReader(new FileInfo(filePath));
     this.filePath = filePath;
 }