Пример #1
0
        public void AddMove(GameMove gameMove)
        {
            if (pnlGamePad.GetControlFromPosition(gameMove.ColumnIndex, gameMove.RowIndex) != null && gameEngine != null)
                return;

            XOSymbolUC xoSymbolUC = new XOSymbolUC(gameMove.XOSymbol);
            this.pnlGamePad.Controls.Add(xoSymbolUC, gameMove.ColumnIndex, gameMove.RowIndex);
        }
Пример #2
0
        public void AddMove(GameMove gameMove)
        {
            if (pnlGamePad.GetControlFromPosition(gameMove.ColumnIndex, gameMove.RowIndex) != null && gameEngine != null)
            {
                return;
            }

            XOSymbolUC xoSymbolUC = new XOSymbolUC(gameMove.XOSymbol);

            this.pnlGamePad.Controls.Add(xoSymbolUC, gameMove.ColumnIndex, gameMove.RowIndex);
        }