public override User newUser(User user)
        {
            Abiturient a = new Abiturient();

            a.setUser(user);
            return(a);
        }
Exemplo n.º 2
0
        public Abiturient newAbiturient(User user, String name, Dictionary <Subjects, int> points)
        {
            if (user == null)
            {
                user = newActiveUser(name, points);
            }
            Users.Remove(user);
            Abiturient a = (Abiturient)AbiturientCreator.newUser(user);

            Users.Add(a);
            return(a);
        }