private void HideControls() { PictureBoxPathPos1.Hide(); PictureBoxPathPos2.Hide(); ListBoxItems.Items.Clear(); ListBoxItems.Hide(); ButtonUseCard.Hide(); ButtonDiscardCard.Hide(); ButtonEndTurn.Hide(); LabelGoalCard.Text = ""; }
private void PathCardSelected() { PictureBoxPathPos1.Show(); PictureBoxPathPos2.Show(); ButtonDiscardCard.Show(); Game.Player.SelectedCard.IsPathUpside = false; PictureBoxPathPos1.Image = new Bitmap(CardSpriteGenerator.GetApropriateSprite(Game.Player.SelectedCard), new Size(85, 111)); CardSet flipedCard = new CardSet(); flipedCard.Path = Game.Player.SelectedCard.Path; flipedCard.PathOpenings = Game.Player.SelectedCard.PathOpenings; flipedCard.Type = CardType.Path; flipedCard.IsPathUpside = true; PictureBoxPathPos2.Image = new Bitmap(CardSpriteGenerator.GetApropriateSprite(flipedCard), new Size(85, 111)); }