Ejemplo n.º 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 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);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets up the dresser placement and texture.
 /// </summary>
 private void SetUpDresser()
 {
     Dresser.FarmHouse = Game1.getLocationFromName("FarmHouse");
     Dresser.SetDresserTexture();
     Dresser.PlaceDresser();
 }