Beispiel #1
0
        public override User newUser(User user)
        {
            Graduate g = new Graduate();

            g.setUser(user);
            return(g);
        }
Beispiel #2
0
        public Graduate newGraduate(User user, String name, Dictionary <Subjects, int> points)
        {
            if (user == null)
            {
                user = newActiveUser(name, points);
            }
            Users.Remove(user);
            Graduate g = (Graduate)GraduateCreator.newUser(user);

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