public Settings(MainPage parent)
 {
     this.InitializeComponent();
     this.parent = parent;
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
     sldMusic.Value = parent.game.music;
     if (parent.game.hardDifficulty == true)
     {
         hard.IsChecked = true;
     }
     else
     {
         easy.IsChecked = true;
     }
     if (parent.game.landscape.shader_option == 0)
     {
         basic.IsChecked = true;
     }
     else
     {
         custom.IsChecked = true;
     }
 }
 public BasicPage1()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
 public Instructions(MainPage parent)
 {
     this.InitializeComponent();
     this.parent = parent;
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }