/// <summary> /// Create a Resources class that will look for files in a specific path and will associate the resources with an specific FHandle. /// </summary> /// <param name="path">Path in which the resources are located.</param> public Resources(string path, FHandle fhandle) { fh = fhandle; GetDirs(path); }
public static void Load(string pth, FHandle fha) { fh = fha; GetDirs(pth); }
/// <summary> /// Make a resource from a path that will be associated with a FHandle /// </summary> /// <param name="path">Path of the resource</param> /// <param name="fh">FHandle</param> public Resource(string path, FHandle fh) { name = path.Split('\\').Last(); this.path = path; this.fh = fh; }