Esempio n. 1
0
 public LearnVM(PokemonEditorVM pm, int move)
 {
     pokemon    = pm;
     Move       = RomData.GetMove(move);
     _isLearned = pokemon.Model.HasMove(move);
     _methods   = new List <LearnMethod>();
 }
Esempio n. 2
0
 private EditorVM(IEnumerable <PokemonTeam> teams)
 {
     Current         = this; //teamvm needs to access current
     _battleTeams    = new ObservableCollection <TeamVM>();
     _teams          = new ObservableCollection <TeamVM>(teams.Select((t) => new TeamVM(t)));
     _editingPokemon = new PokemonEditorVM();
 }