Esempio n. 1
0
        public override void Update()
        {
            PhysicsManager.Update();
            UpdateManager.Update();
            PhysicsManager.CheckCollisions();
            timer.Update();

            CameraManager.Update();
        }
Esempio n. 2
0
        public override void Update()
        {
            if (timer.IsActive)
            {
                PlayerTimer -= Game.DeltaTime;
                timer.Text   = ((int)PlayerTimer).ToString();
            }

            PhysicsManager.Update();
            UpdateManager.Update();
            PhysicsManager.CheckCollisions();
            CameraManager.Update();
        }