public MainWindow()
        {
            InitializeComponent();

            _gameEngine = new GameEngine();

            _labels[0] = labelPlayer1;
            _labels[1] = labelPlayer2;
            _labels[2] = labelPlayer3;

            // Set label names.
            for (var i = 0; i < _labels.Count(); i++)
            {
                _labels[i].Text = _gameEngine.PlayersList[i].Name;
                _labels[i].Parent = pictureBoxMap;
            }

            // Start in ECS 308.
            UpdateListboxDisplay(17);

            UpdateInformationPanel();

            buttonDrawCard.Enabled = true;
            buttonMove.Enabled = false;
            buttonPlayCard.Enabled = false;

            var cardName = _gameEngine.PlayersList[0].Hand.First().GetType().Name;
            pictureBoxCard.Image = Image.FromFile(@"..\..\Pictures\Cards\Freshman\" + cardName + ".png");
        }
 public Player(string name, GameEngine gameEngine)
 {
     Name = name;
     _gameEngine = gameEngine;
 }