示例#1
0
 public void ExitLounge()
 {
     GuiController.PauseJojoMovement();
     GuiController.MattSpeakWithCallBack(SpeechRepository.GetExitLoungeSpeechNoneCollected(), () =>
     {
         GuiController.PanToDemons();
         GuiController.DoActionAfterPanFinished(() => GuiController.RestartJoJoMovement());
     });
 }
示例#2
0
 public void EnterBedroom()
 {
     GuiController.PauseJojoMovement();
     GuiController.PanToPaigeWithCallBack(() =>
     {
         GuiController.MattSpeakWithCallBack(
             SpeechRepository.GetEnterBedroomSpeech(),
             () => GuiController.RestartJoJoMovement());
     });
 }
示例#3
0
 public void MattFollowJoJo()
 {
     GuiController.PauseJojoMovement();
     GuiController.SetMattFollowJojo();
     // should prob split speech in 2 so can do after speech callback
     GuiController.MattSpeak(SpeechRepository.GetMattFollowJoJoSpeech());
     GuiController.DoActionAfterXTime(3.5f, () =>
     {
         GuiController.PanToPaigeWithCallBack(() => GuiController.RestartJoJoMovement());
     });
 }
示例#4
0
        public void DemonKilled()
        {
            RemoveCollectable();

            if (CollectableCount > 0)
            {
                GuiController.MattSpeak(SpeechRepository.GetDemonDied());
                return;
            }

            GuiController.PauseJojoMovement();
            GuiController.RemoveBedroomDoor();
            GuiController.PanToBedroomDoor();
            GuiController.DoActionAfterPanFinished(() =>
            {
                GuiController.MattSpeak(SpeechRepository.GetNoMoreDemons());
                GuiController.RestartJoJoMovement();
            });
        }
示例#5
0
        public void JoJoNearJar()
        {
            GuiController.PauseJojoMovement();

            // double swip
            JoJoSwip();
            GuiController.DoActionAfterXTime(0.5f, () => JoJoSwip());

            // swip over do speech and ring
            GuiController.DoActionAfterXTime(1.5f, () =>
            {
                GuiController.MattSpeakWithCallBack(SpeechRepository.GetJoJoBreakJarFailedSpeech(), () =>
                {
                    GuiController.ShowRingAnimation();
                    GuiController.DoActionAfterXTime(4, () => GuiController.ShowMarryMeCanvasDialog());
                    // another chained call paige is free! and Huh is that a ring?
                    // will you marry me paige - speech.
                    // could probably do something more elegant callbacks on animations or something.. but w.e
                });
            });
        }
示例#6
0
 public void SheSaidYesFuckYeah()
 {
     GuiController.RemoveJar();
     GuiController.MattSpeak(SpeechRepository.SheSaidYesFuckYeah());
 }