public void leaveDate()
 {
     isAtDate = false;
     mySceneCatalogue.toggleInteriorScene();
     myEventQueue.queueEvent(new EventSceneChange());
     myGameState.currentGameState = GameState.gameStates.PROWL;
     myUIManager.resetDateButtons();
     myAudioConductor.fadeOutCurrentMusic();
     getCurrentDateFromScheduledDateList().isOver = true;
 }
Пример #2
0
    public void BTN_toggleIntertiorScene()
    {
        toggleInteriorSceneButton.interactable = false;
        Action toggleInteriorAndTriggerEvent = () =>
        {
            mySceneCatalogue.toggleInteriorScene();
            myVictoryCoach.checkQuestsCompleteAndQueueEvent(new EventSceneChange());
        };

        myAnimationMaestro.delayActionIfCharactersPresent(toggleInteriorAndTriggerEvent);
    }