Example #1
0
 public void SendWhite(Agent to)
 {
     SendOpinion(BlackWhiteSubject.White, to);
 }
Example #2
0
 public void SendBlack(Agent to)
 {
     SendOpinion(BlackWhiteSubject.Black, to);
 }
Example #3
0
 public void SendOpinion(BlackWhiteSubject opinion, Agent to)
 {
     to.ReceiveOpinion(new BWMessage(opinion, this));
 }
Example #4
0
 public void SetAgent(Agent a)
 {
     agent = a;
 }