public override void Draw(SpriteBatch spriteBatch, States state) { Game1.graphics.GraphicsDevice.Clear(networkManager.Active ? Color.Green : Color.Red); spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, SamplerState.PointClamp); userInterfaceManager.DrawLobby(spriteBatch, networkManager); spriteBatch.End(); }