Exemple #1
0
        public void AddPerson(string name, uint age, int language)
        {
            Person.LanguageType type = (Person.LanguageType)language;
            if ((name == "") || (age <= 0))
            {
                GeneratePerson(out name, out age, out type);
            }

            person = new Person(name, age, type);

            view.InformMessage("You add person to conversation");
            view.PersonMessage(person.Talk());
        }