示例#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);
 }