public KnockingDoors()
 {
     mc = new MapController();
     Player = new Player();
 }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            KnockingDoors kd = e.Parameter as KnockingDoors;
            brush.Color = Color.FromArgb(255, 0, 0, 255);
            if (kd != null)
            {
                this.kd = kd;
                switch (kd.Difficult)
                {
                    case KnockingDoors.Difficulties.First_Time:
                        DiffText.Text = "Nieuw hier";
                        break;
                    case KnockingDoors.Difficulties.Been_Here:
                        DiffText.Text = "Bekend terrein";
                        break;
                    case KnockingDoors.Difficulties.Born_Here:
                        DiffText.Text = "Hometown";
                        break;
                    default:
                        DiffText.Text = "Nieuw hier";
                        break;
                }
                this.changeDoor();  //Eerste keer deur maken!

                //Databinding naar player
                player = kd.Player;
                ScoreText.DataContext = player;
                Binding binding = new Binding() { Path = new PropertyPath("Score") };
                ScoreText.SetBinding(TextBlock.TextProperty, binding);

                //Verander de timer
                //Timer aTimer = new Timer(new TimerCallback(timeAction), null, 0, 1000);
                dTimer.Interval = TimeSpan.FromSeconds(1);
                dTimer.Tick += timeAction;
                dTimer.Start();
            }
        }