Beispiel #1
0
 public bool IsActive(FuSMState state)
 {
     if (activated.Count != 0)
     {
         for (int i = 0; i < activated.Count; i++)
             if (activated[i] == state)
                 return true;
     }
     return false;
 }
Beispiel #2
0
 public bool IsActive(FuSMState state)
 {
     if (activated.Count != 0)
     {
         for (int i = 0; i < activated.Count; i++)
         {
             if (activated[i] == state)
             {
                 return(true);
             }
         }
     }
     return(false);
 }
Beispiel #3
0
 public void AddState(FuSMState newState)
 {
     states.Add(newState);
 }
Beispiel #4
0
 public void AddState(FuSMState newState)
 {
     states.Add(newState);
 }