/// <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; }
/// <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; }