Exemple #1
0
        public int AddWaarneming(VogelSoort vogel, Type type, Point locatie)
        {
            Waarneming newWaarneming = new Waarneming(vogel, type, locatie);

            Waarnemingen.Add(newWaarneming);

            return 1;
        }
        public Waarneming(VogelSoort vogel, Type type, Point locatie)
        {
            Vogel = vogel;
            Type = type;
            Locatie = locatie;

            Time = DateTime.Now;

            AddWaarneming();
        }
        public int AddWaarneming(VogelSoort vogelSoort, Type type, Point locatie)
        {
            if(_huidigProject.LaatsteBezoek.BezoekBeeindigd) return 1;

            _huidigProject.LaatsteBezoek.AddWaarneming(vogelSoort, type, locatie);

            return 1;
        }