Example #1
0
 public override void sendMessage(string message, AUser sender)
 {
     foreach (var user in this.Users)
     {
         if (user != sender)
         {
             user.receiveMessage(message);
         }
     }
 }
Example #2
0
 public abstract void sendMessage(string message, AUser sender);
Example #3
0
 public void AddNewUser(AUser user)
 {
     this.Users.Add(user);
 }