コード例 #1
0
        /// <summary>
        /// Event that is called when a save is loaded.
        /// </summary>
        /// <param name="sender"> The object</param>
        /// <param name="e"> The Save Loaded Event arguement</param>
        private void OnSaveLoaded(object sender, SaveLoadedEventArgs e)
        {
            // Set up the Dresser
            SetUpDresser();

            //Create the Menu
            CreateAndAssignDresserMenu();

            //Load the character
            PlayerLoader.LoadCharacterLayout(Menu);
        }
コード例 #2
0
        /// <summary>Event that is called when a save is loaded.</summary>
        /// <param name="sender">The object</param>
        /// <param name="e">The Save Loaded Event arguement</param>
        private void OnSaveLoaded(object sender, SaveLoadedEventArgs e)
        {
            //Set up the Dresser and Place it
            Dresser.FarmHouse = Game1.getLocationFromName("FarmHouse");
            Dresser.SetDresserTexture();
            Dresser.PlaceDresser();

            //Create the Menus and set the var in DresserHandler
            Menu         = new GlamMenu(this, Config, PackHelper, Dresser, PlayerLoader);
            Dresser.Menu = Menu;

            //Load the character
            PlayerLoader.LoadCharacterLayout(Menu);
        }
コード例 #3
0
 /// <summary>
 /// Event that is called when a save is loaded.
 /// </summary>
 /// <param name="sender"> The object</param>
 /// <param name="e"> The Save Loaded Event arguement</param>
 private void OnSaveLoaded(object sender, SaveLoadedEventArgs e)
 {
     SetUpDresser();
     CreateAndAssignDresserMenu();
     PlayerLoader.LoadCharacterLayout(Menu);
 }