Пример #1
0
    private void tellTheOtherClasses_TheGameIsHalfPaused()
    {
        // I need to communicate with:
        // --the wake controller,
        // --the ship-rocking controller,
        // --the interactables manager,
        // __potentially the water or lighting managers, if those do anyting in update...
        //     not currently.
        // later...
        // the enemy manager,
        // the treasure-tail manager...

        touchManager.manageTouches_halfPaused();
        cannonballManager.moveAllActiveCannonballs();
        wakeController.updateWakes();
        shipRotationmanager.updateShipRotation();
        interactablesManager.advanceAllPrefabAnimations(playerBoatTransform_delayed.position);
        enemyManager.advanceAllPrefabAnimations();
        minimapManager.updateMinimap_halfPaused();
        uiManager.advanceMoneyRollAnimation();
        healthBarManager.updateHealthBar(playerBoatTransform_delayed.position);
        lootTailManager.updateTailPosition(playerBoatTransform_delayed.position, playerBoatTransform_delayed.eulerAngles);
    }