예제 #1
0
 public void CohesionOn()
 {
     if (!behaviours.Contains(Cohesion.GetInstance()))
     {
         behaviours.Add(Cohesion.GetInstance());
     }
 }
예제 #2
0
 public void CohesionOff()
 {
     behaviours.Remove(Cohesion.GetInstance());
 }