コード例 #1
0
        /// <summary>
        /// Speichert einen Player.
        /// </summary>
        /// <param name="player">Der Player.</param>
        public void SavePlayer(Player player)
        {
            if (universe == null)
            {
                throw new Exception("No Universe loaded");
            }

            persistenceManager.SavePlayer(universe.Id, player);
        }