Ejemplo n.º 1
0
 protected void ExitQueues(string exception)
 {
     if (attracionObjective != null && !exception.Equals("attraction"))
     {
         attracionObjective.Leave(this);
     }
     if (foodObjective != null && !exception.Equals("food"))
     {
         foodObjective.Leave(this);
     }
     if (bathObjective != null && !exception.Equals("bath"))
     {
         bathObjective.Leave(this);
     }
 }