Esempio n. 1
0
 public ToAerial(StateMachine sm_)
 {
     sm          = sm_;
     targetState = sm.aerialState;
     condition   = new AerialCondition(sm);
     actions     = new IAction[1];
     actions[0]  = new AerialAction(sm);
 }
Esempio n. 2
0
 public AerialState(StateMachine sm_)
 {
     sm              = sm_;
     exitActions     = new IAction[1];
     exitActions[0]  = new AerialAction(sm);
     entryActions    = new IAction[1];
     entryActions[0] = new AerialAction(sm);
     actions         = new IAction[1];
     actions[0]      = new AerialAction(sm);
     transitions     = new ITransition[1];
     transitions[0]  = new ToInitial(sm);
 }