示例#1
0
        public static PropertyObject Load(string fileLocation)
        {
            FileReader fr = new FileReader("Content\\" + fileLocation);

            fr.readLine();
            PropertyObject toGlobal = new PropertyObject();

            toGlobal.Load(fr);
            fr.Finish();
            return(toGlobal);
        }
示例#2
0
        public static void Load(string fileLocation, string nameInGlobal)
        {
            FileReader fr = new FileReader("Content\\" + fileLocation);

            fr.readLine();
            PropertyObject toGlobal = new PropertyObject();

            toGlobal.Load(fr);
            Global.Add(new PropertyDefinition(nameInGlobal, toGlobal));
            fr.Finish();
        }
示例#3
0
文件: Loader.cs 项目: Jeffersah/FP1
 public static void Load(string fileLocation, string nameInGlobal)
 {
     PropertyObject.Load(fileLocation, nameInGlobal);
 }
示例#4
0
文件: Loader.cs 项目: Jeffersah/FP1
 public static PropertyObject Load(string fileLocation)
 {
     return(PropertyObject.Load(fileLocation));
 }