Beispiel #1
0
 public ToAntiAir(StateMachine sm_)
 {
     sm          = sm_;
     targetState = sm.advanceState;
     condition   = new AntiAirCondition(sm);
     actions     = new IAction[1];
     actions[0]  = new AntiAirAction(sm);
 }
 public AntiAirState(StateMachine sm_)
 {
     sm              = sm_;
     exitActions     = new IAction[1];
     exitActions[0]  = new AntiAirAction(sm);
     entryActions    = new IAction[1];
     entryActions[0] = new AntiAirAction(sm);
     actions         = new IAction[1];
     actions[0]      = new AntiAirAction(sm);
     transitions     = new ITransition[1];
     transitions[0]  = new ToInitial(sm);
 }