public UI_InputHandler()
    {
        _UIEventDelayer     = new Timer(0.25f);
        _UIReceiverMediator = new UIReceiver_Mediator();

        _UIElementNavigationReceiver = new UIReceiver_ElementNavigation(_UIReceiverMediator, _UIEventDelayer);
        _UpCommand    = new UI_NavigateUpCommand(_UIElementNavigationReceiver);
        _DownCommand  = new UI_NavigateDownCommand(_UIElementNavigationReceiver);
        _LeftCommand  = new UI_NavigateLeftCommand(_UIElementNavigationReceiver);
        _RightCommand = new UI_NavigateRightCommand(_UIElementNavigationReceiver);

        _UIDirectTransitionsReceiver = new UIReceiver_DirectTransitions(_UIReceiverMediator);
        _GameMenuDirectTransition    = new UI_TransitionToGameMenu(_UIDirectTransitionsReceiver);
        _PlayerMenuDirectTransition  = new UI_TransitionToPlayerMenu(_UIDirectTransitionsReceiver);
        _BackDirectTransition        = new UI_TransitionToBack(_UIDirectTransitionsReceiver);

        _UIElementSubmitReceiver = new UIReceiver_ElementSubmit(_UIReceiverMediator);
        _SubmitTypeOne           = new UI_SubmitTypeOneCommand(_UIElementSubmitReceiver);
        _SubmitTypeTwo           = new UI_SubmitTypeTwoCommand(_UIElementSubmitReceiver);
        _SubmitTypeThree         = new UI_SubmitTypeThreeCommand(_UIElementSubmitReceiver);
        _SubmitTypeFour          = new UI_SubmitTypeFourCommand(_UIElementSubmitReceiver);

        _UISubWindowShiftReceiver = new UIReceiver_SubWindowShift(_UIReceiverMediator);
        _ShiftSubWindowLeft       = new UI_SubWindowShiftLeftCommand(_UISubWindowShiftReceiver);
        _ShiftSubWindowRight      = new UI_SubWindowShiftRightCommand(_UISubWindowShiftReceiver);
    }
 public InputEvent_ShiftSubWindowRight()
 {
     _ShiftSubWindowRightCommand = null;
 }
示例#3
0
 public InputEvent_SubmitTypeTwo()
 {
     _SubmitTypeTwoCommand = null;
 }
示例#4
0
 public InputEvent_SubmitTypeOne()
 {
     _SubmitTypeOneCommand = null;
 }
 public InputEvent_ShiftSubWindowLeft()
 {
     _ShiftSubWindowLeftCommand = null;
 }
示例#6
0
 public InputEvent_SubmitTypeThree()
 {
     _SubmitTypeThreeCommand = null;
 }