Exemple #1
0
 public override void RelatedChange(Colleague colleague)
 {
     if (colleague is Manager)
     {
         Mgr.AddTask();
         Dev.DevTask();
         Tes.TestTask();
     }
     else if (colleague is Develop)
     {
         Dev.SolveProblem();
         Tes.VerifyProblem();
     }
     else if (colleague is Test)
     {
         Tes.FindProblem();
         Mgr.Supervise();
         Dev.SolveProblem();
     }
 }