Esempio n. 1
0
        public static SerialDict <string, string> getTileset(string name)
        {
            SerialDict <string, string> tileset = new SerialDict <string, string>();

            tileset = (SerialDict <string, string>)Filer.loadFromFile(tileset.GetType(), storageLocation + "XML/Tilesets/" + name);
            return(tileset);
        }
Esempio n. 2
0
        public static Level loadLevel(string levelName)
        {
            Level level = (Level)Filer.loadFromFile(typeof(Level), storageLocation + "xml/levels/" + levelName);

            return(level);
        }