Ejemplo n.º 1
0
        public AboutViewModel()
        {
            Title = "Настройки";

            FillPaladinCommand = new Command(async() =>
            {
                await PaladinSpells.FillSpells();
                await PaladinSpells.FillVengeanceSpells();
            });
            FillXGTECommand = new Command(async() => await PaladinSpells.FillXGTESpells());

            FillBaseCommand    = new Command(async() => await ClericSpells.FillSpells());
            FillForgeCommand   = new Command(async() => await ClericSpells.FillForge());
            FillTempestCommand = new Command(async() => await ClericSpells.FillTempest());

            DropBaseCommand        = new Command(async() => await App.Database.ClearSpellBase());
            CreateClericCommand    = new Command(async() => await CreateCharacter.NewCleric());
            CreateInventoryCommand = new Command(async() => await CreateInventory.NewInventory());
        }