public ScreenUtility(PlayerIndex PlayerIndexValueArg)
 {
     SplScreen = new SplashScreen(0f);
     FullScreen = true;
     //should be loaded in somehow...to be done later
     WideScreen = true;
     //gets initial keyboard state, will change after first loop of Update()
     OldState = Keyboard.GetState();
     PlayerIndexValue = PlayerIndexValueArg;
     OldStateBtn = GamePad.GetState(PlayerIndexValue);
     //games starts unpaused
     GamePaused = false;
 }
 public void RunSplashScreen(int MilliSeconds)
 {
     SplashScreen MyScreen = new SplashScreen(MilliSeconds);
     MyScreen.ShowDialog();
 }
 public void RunSplashScreen(int MilliSeconds, GraphicsDeviceManager graphics)
 {
     //allows the game to be shown in full screen mode
     graphics.IsFullScreen = false;
     graphics.ApplyChanges();
     SplScreen = new SplashScreen(MilliSeconds);
     SplScreen.ShowDialog();
     graphics.IsFullScreen = true;
     graphics.ApplyChanges();
 }
 //displays the splash screen
 public void RunSplashScreen()
 {
     SplashScreen MyScreen = new SplashScreen(1000);
     MyScreen.ShowDialog();
 }