Example #1
0
    public void TravelEventCallBack()
    {
        if (flipped)
        {
            postFlipSanityTokens++;
            GameManager.SingleInstance.App.Controller.ancientOneController.UpdatePostFlipTokenVal(postFlipSanityTokens);
        }

        targetInvestigator.BecomeDelayed();

        targetInvestigator.SetIncomingDamage(1);
        GameManager.SingleInstance.App.Controller.queueController.CreateCallBackQueue(LoseSanity); // Create Queue
        GameManager.SingleInstance.App.Model.eventModel.LoseSanityEvent(targetInvestigator, 1);    // Populate Queue
        GameManager.SingleInstance.App.Controller.queueController.StartCallBackQueue();            // Start Queue
    }