Exemplo n.º 1
0
        /// <summary>
        /// Loads a new game from storage
        /// </summary>
        public static void Load()
        {
            Core.map.hexList.Clear();
            Core.factions.Clear();

            PersistentStorage ps = new PersistentStorage();

            ps.InitiateLoad();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Saves the game
        /// </summary>
        public static void Save()
        {
            PersistentStorage pw = new PersistentStorage();

            pw.InitiateSave();
        }