Пример #1
0
        /// <summary>
        /// Add cards on the tablelayoutpanel verticaly for an ai
        /// </summary>
        /// <param name="table">This is a TableLayoutPanel</param>
        /// <param name="ai">This is an ai</param>
        public void setTablesLayoutVertical(TableLayoutPanel table, IA ai)
        {
            CardsOnBoards buttonsCard = new CardsOnBoards();

            buttonsCard.AddCardsIAVertical(table, ai);
            this.ArrangeTableLayout(table);
        }
Пример #2
0
        /// <summary>
        /// Add cards on the tablelayoutpanel for the player
        /// </summary>
        /// <param name="table">This is a TableLayoutPanel</param>
        /// <param name="player">This is the MainPlayer</param>
        public void setTablesLayout(TableLayoutPanel table, Players player, Button activate)
        {
            CardsOnBoards buttonsCard = new CardsOnBoards();

            buttonsCard.AddBUttons(table, player, activate);
            this.ArrangeTableLayout(table);
        }