Example #1
0
        public void LoadGameData(string heroName)
        {
            var heroSave = Storage.GetHero(heroName);

            try
            {
                CurrentStage = StageFactory.LoadStage(this, heroName, heroSave.CurrentStage);
                CurrentStage.RefreshFieldOfView(CurrentStage.CurrentHero.Position);
            }
            catch (StageNotFoundExpection ex)
            {
                throw;
            }
        }