Permissions Fix

Fixed up the public permissions for WADFile struct. It no longer
needs to restrict to the super module anymore as the architecture
has changed to be more accomodating. Also removed pub access from
the lump_directory as this will be accessed through the
implementation functions.
This commit is contained in:
Wesley Irvin
2023-04-27 17:58:23 -04:00
parent 0b0889faee
commit 430889ff09

View File

@@ -7,11 +7,11 @@ use std::{
};
pub struct WADFile {
pub(super) wad_path: String,
pub(super) identifier: String,
pub(super) num_lumps: u32,
pub(super) init_offset: u32,
pub(super) lump_directory: Vec<Directory>,
pub wad_path: String,
pub identifier: String,
pub num_lumps: u32,
pub init_offset: u32,
lump_directory: Vec<Directory>,
}
impl WADFile {