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; }
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); }
public void AddState(FuSMState newState) { states.Add(newState); }