public void AddLine(AbstractTransitionLine line) { if (_lineList.Contains(line)) { return; } _lineList.Add(line); }
public TransitionState GetNextState() { foreach (var line in _myLineList) { if (line.PermitTransition()) { _permitLine = line; return(line._nextState); } } return(this); }
public void RemoveLineList(AbstractTransitionLine line) { _myLineList.Remove(line); }
public void AddLineList(AbstractTransitionLine line) { _myLineList.Add(line); }
public void SetTerm(AbstractTransitionTerm term, AbstractTransitionLine line) { line.SetTerm(term); }
public void SetLineFromTo(TransitionState from, TransitionState to, AbstractTransitionLine line) { line.SetTo(to); from.AddLineList(line); }