public override void Update(GameTime gameTime) { SoundManager.Update(gameTime); ParticleManager.Update(gameTime); InstanceManager.Update(gameTime); FactionManager.Update(gameTime); #if DRAWQUAD DrawGridTimer += gameTime.ElapsedGameTime.Milliseconds; if (DrawGridTimer > MaxDrawGridTimer) { DrawGridTimer = 0; DrawQuadGrid.SetObjects(DrawChildren); } #endif SolidQuadGrid.SetObjects(SolidChildren); base.Update(gameTime); }