Beispiel #1
0
            public DBEnumerator(User[] onlineUsers)
            {
                for (int i = 0; i < onlineUsers.Length; i++)
                    this.onlineUsers[i] = onlineUsers[i];

                Reset();
            }
Beispiel #2
0
 public DBManager()
 {
     onlineUsers[0] = new User("Tom Arche");
     onlineUsers[1] = new User("Krista Crawley");
     onlineUsers[2] = new User("Emma Murdoch");
 }