Exemple #1
0
        public void Update(GameTime gameTime)
        {
            StarFactory.Update(gameTime, _tunnel, Scene, _player);
            BombFactory.Update(gameTime, _tunnel, Scene, _player);

            ExplosionParticles.Update(gameTime);
            FireParticles.Update(gameTime);
            SmokeParticles.Update(gameTime);
            StarsParticles.Update(gameTime);
        }
Exemple #2
0
        public void Update(GameTime gameTime)
        {
            StarFactory.Update(gameTime, _tunnel, Scene, _player);
            BombFactory.Update(gameTime, _tunnel, Scene, _player);
            // Log the position for the analysis
            LoopGame.Instance.GameObjects.TryUpdate("PlayerPosition", new Vector3(_player.Angle, Globals.Lives, Globals.TotalScore));

            ExplosionParticles.Update(gameTime);
            FireParticles.Update(gameTime);
            SmokeParticles.Update(gameTime);
            StarsParticles.Update(gameTime);
        }