Example #1
0
 /// <summary>
 /// 注册一条连接条件
 /// </summary>
 /// <param name="A"></param>
 /// <param name="B"></param>
 /// <param name="con"></param>
 public void AddConnection(State A, State B, Condition con)
 {
     this.AddState(A);
     this.AddState(B);
     A.AddConnection(B, con);
 }