// ---------- UPDATE ----------------------------------------------------+ #region UPDATE public void Update() { // Do not update if game is paused or haven't started once if (gameState == GameStates.TITLE_SCREEN || gameState == GameStates.PAUSED) { return; } // ----- UPDATE HERO ----- heroManager.UpdateHero(); // ----- UPDATE OBSTACLES ----- obstacleManager.UpdateObstacles(); // ----- UPDATE BOSSES ----- bossManager.UpdateBoss(); }