Beispiel #1
0
        public void ExecuteReset()
        {
            this._heroAdminCharacter = HeroAdminCharacter.FromHero(this._hero);

            ///this._heroAdminCharacterVM = new HeroAdminCharacterVM(this._hero);

            ResetData();
        }
Beispiel #2
0
        public HereAdminDashBoardVM(Hero hero, Action closeHereAdminDashBoard)
        {
            this._HeroAdminHeroSelectorVM = new HeroAdminHeroSelectorVM(hero, OnHeroSelected);
            this._closeHereAdminDashBoard = closeHereAdminDashBoard;
            this._hero = hero;
            this._heroAdminCharacter   = HeroAdminCharacter.FromHero(hero);
            this._heroAdminCharacterVM = new HeroAdminCharacterVM(hero.Name.ToString(), hero.Level);
            this._heroAdminRecordVM    = new HeroAdminRecordVM(this._heroAdminCharacter, this.OnToLoadHeroCharacter);
            this._heroAdminDevelopVM   = new HeroAdminDevelopVM(this._heroAdminCharacter, OnResetLevelAction);

            this._heroAdminCharacterVM.FillFrom(hero.BodyProperties, hero.CharacterObject.FirstBattleEquipment, hero.Culture, hero.IsFemale);
        }