private void InitializePlayer() { // get the created Charecter _player = CharacterSelection._player; //add to canvas if (!_game.Children.Contains(_player.Image)) { _game.Children.Add(_player.Image); } //initialize ScoreKeeper _scoreKeeper = new PlayerScoreKeeper(_player.Name, _player.GetScore()); //initialize the visual representations InitializePlayerVisualTools(); }
private void InitializeScore() { ScoreDisplayTextBlock.Text = $"{_player.GetScore()}"; }