コード例 #1
0
ファイル: TablesLayout.cs プロジェクト: Fl4gu1z0wsky/UNO
        /// <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
ファイル: TablesLayout.cs プロジェクト: Fl4gu1z0wsky/UNO
        /// <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);
        }