Exemplo n.º 1
0
 public State1(
     StateGlobal Global,
     State0 S0,
     UserActionExecutionContext ctx,
     Def.Event.IDoubleActionSet primaryEvent,
     IEnumerable <OnButtonGestureDefinition> T1,
     IEnumerable <IfButtonGestureDefinition> T2
     ) : base(Global)
 {
     this.S0           = S0;
     this.ctx          = ctx;
     this.primaryEvent = primaryEvent;
     this.T0           = Transition.Gen1_0(T1);
     this.T1           = Transition.Gen1_1(T1);
     this.T2           = Transition.Gen1_2(T1);
     this.T3           = T2;
     this.S2           = new State2(Global, S0, ctx, primaryEvent, this.T0, this.T1, this.T2, this.T3);
 }
Exemplo n.º 2
0
 public State3(
     StateGlobal Global,
     State0 S0,
     State2 S2,
     UserActionExecutionContext ctx,
     Def.Event.IDoubleActionSet primaryEvent,
     Def.Event.IDoubleActionSet secondaryEvent,
     IEnumerable <IfButtonGestureDefinition> T0,
     IEnumerable <OnButtonWithIfButtonGestureDefinition> T1
     ) : base(Global)
 {
     this.S0             = S0;
     this.S2             = S2;
     this.ctx            = ctx;
     this.primaryEvent   = primaryEvent;
     this.secondaryEvent = secondaryEvent;
     this.T0             = T0;
     this.T1             = T1;
 }