Example #1
0
        public override void BuyCard(Player player)
        {
            BuyCardForm form = new BuyCardForm(player, RequiredResources[0], RequiredResources[1], RequiredResources[2], RequiredResources[3], 0, 0, 0);

            form.ShowDialog();
            if (form.Bought == true)
            {
                Owner = player;
                GetPoints();
            }
        }
Example #2
0
        public override void BuyCard(Player player)
        {
            BuyCardForm form = new BuyCardForm(player, 0, 0, 0, 0, 1, 7, 0, 4);

            form.ShowDialog();
            if (form.Bought == true)
            {
                PayedResources = form.PayedResources;
                Owner          = player;
                GetPoints();
            }
        }