Esempio n. 1
0
        private void Update()
        {
            if (viewManager.currentView != CurrentViewType.Game)
            {
                return;
            }

            if (inputMapper.GetKeyUp(AbstractKey.EditorBackward))
            {
                MoveBackward();
            }

            if (inputMapper.GetKeyUp(AbstractKey.EditorBeginChapter))
            {
                JumpChapter(0);
            }

            if (inputMapper.GetKeyUp(AbstractKey.EditorPreviousChapter))
            {
                JumpChapter(-1);
            }

            if (inputMapper.GetKeyUp(AbstractKey.EditorNextChapter))
            {
                JumpChapter(1);
            }
        }
Esempio n. 2
0
 private void Update()
 {
     if (inputMapper.GetKeyUp(AbstractKey.ToggleFullScreen))
     {
         GameRenderManager.SwitchFullScreen();
     }
 }
Esempio n. 3
0
        private void Update()
        {
            if (viewManager.currentView != CurrentViewType.Game)
            {
                return;
            }

            if (inputMapper.GetKeyUp(AbstractKey.EditorReloadScripts))
            {
                ReloadScripts();
            }

            if (inputMapper.GetKeyUp(AbstractKey.EditorRerunAction))
            {
                RerunAction();
            }
        }