Beispiel #1
0
        public void Update(IMapPokemon update)
        {
            _mapPokemon = ((MapPokemonWrapper)update)._mapPokemon;

            OnPropertyChanged(nameof(PokemonId));
            OnPropertyChanged(nameof(EncounterId));
            OnPropertyChanged(nameof(SpawnpointId));
            OnPropertyChanged(nameof(Geoposition));
        }
Beispiel #2
0
        public void Update(IMapPokemon update)
        {
            var lure = (LuredPokemon)update;

            _lureInfo   = lure._lureInfo;
            Geoposition = lure.Geoposition;

            OnPropertyChanged(nameof(PokemonId));
            OnPropertyChanged(nameof(EncounterId));
            OnPropertyChanged(nameof(SpawnpointId));
            OnPropertyChanged(nameof(Geoposition));
        }
Beispiel #3
0
        public void Update(IMapPokemon update)
        {
            var incense = (IncensePokemon)update;

            _incensePokemon = incense._incensePokemon;
            Geoposition     = incense.Geoposition;

            OnPropertyChanged(nameof(PokemonId));
            OnPropertyChanged(nameof(EncounterId));
            OnPropertyChanged(nameof(SpawnpointId));
            OnPropertyChanged(nameof(Geoposition));
        }