Ejemplo n.º 1
0
        public static F_Scene_Props LoadFromFile(ModuleInfo minfo, string MnBPath, string module)
        {
            F_Scene_Props obj = new F_Scene_Props();

            obj.Module = minfo;
            StreamReader reader = new StreamReader(File.Open(MnBPath + "\\modules\\" + module + "\\scene_props.txt", FileMode.Open));

            obj.FromStream(reader);

            reader.Close();
            return(obj);
        }