Exemple #1
0
 public void setComrade(Ihelper comradeParam)
 {
     if (comrade != null)
     {
         comrade.setComrade(comradeParam);
     }
     else
     {
         comrade = comradeParam;
     }
 }
Exemple #2
0
    protected Ihelper comrade;   //this is the next Helper in The Chain.



    public void setLeader(Ihelper leaderParam)    //factory will set globals. (if there's some sorta protected value for C# we should probs use it...
    {
        leader = leaderParam;
    }