Пример #1
0
 /// <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);
 }
Пример #2
0
 public static void Load(string pth, FHandle fha)
 {
     fh = fha;
     GetDirs(pth);
 }
Пример #3
0
 /// <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;
 }