Beispiel #1
0
        /// <summary>
        /// Creates a new empty vault file
        /// </summary>
        /// <param name="name">Name of the vault.</param>
        /// <param name="file">file name of the vault.</param>
        /// <returns>Player instance of the new vault.</returns>
        public PlayerCollection CreateVault(string name, string file)
        {
            PlayerCollection vault = new PlayerCollection(name, file);

            vault.IsVault = true;
            vault.CreateEmptySacks(12);             // number of bags
            return(vault);
        }