Пример #1
0
 public AlternativeState(DFState left, DFState right)
 {
     this._States = new List <DFState>()
     {
         left, right
     };
 }
Пример #2
0
 public SequenceState(DFState left, DFState right)
 {
     this._States = new List <DFState>()
     {
         left, right
     };
 }
Пример #3
0
 public LimitState(DFState innerState, uint min, uint?max)
 {
     this.InnerState = innerState;
     if (max != null && max.Value < min)
     {
         throw new Exception("max必须比min大");
     }
     this.Min = min;
     this.Max = max;
 }
Пример #4
0
 internal void AppendState(DFState state)
 {
     this._States.Add(state);
 }
Пример #5
0
 void onLevel(DFState state)
 {
 }
Пример #6
0
 void onLine(DFState state)
 {
 }
Пример #7
0
 void onItem(DFState state)
 {
 }
Пример #8
0
 void onKey(DFState state)
 {
 }
Пример #9
0
 public LimitState(DFState innerState, uint length)
 {
     this.Min        = length;
     this.Max        = length;
     this.InnerState = innerState;
 }
Пример #10
0
 internal void JoinState(DFState state)
 {
     this._States.Add(state);
 }