public ToAerial(StateMachine sm_) { sm = sm_; targetState = sm.aerialState; condition = new AerialCondition(sm); actions = new IAction[1]; actions[0] = new AerialAction(sm); }
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); }