//Contructor
        public ScreenManager()
        {
            DisplayMode = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode;
            Screensize = new Vector2(GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width, GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height);

            //Screen Centered
            Dimensions = new Vector2(506, 84);
            Position = new Point((int)(Screensize.X - Dimensions.X) / 2, (int)(Screensize.Y - Dimensions.Y) / 2);

            //FullScreen, zorg dat screen op borderless staat
            //Dimensions = new Vector2(Screensize.X, Screensize.Y-40);
            //Position = new Point(0, 0);

            currentscreen = new SplashScreen();
            IsTransitioning = false;
        }
        public void TransitionScreen(GameTime gameTime)
        {
            if (IsTransitioning)
            {
                fade.Alpha = fadeEffect.Update(gameTime);
                if (fade.Alpha >= 1.0f)
                {
                    currentscreen.UnloadContent();
                    currentscreen = (Screen)Activator.CreateInstance(Type.GetType("Game_Test." + newscreen));
                    currentscreen.LoadContent();
                    HasChangedScreen = true;
                }

                if (HasChangedScreen && fade.Alpha <= 0.0f)
                    IsTransitioning = false;
                fade.Update(gameTime);
            }
        }
 public void Start()
 {
     currentscreen.UnloadContent();
     currentscreen = new MenuScreen();
     currentscreen.LoadContent();
 }