Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        public SimpleBrainActor()
        {
            this.board = null;
            //this.totalLines = 0;
            this.attackFactor = 4;

            Receive <StartThink>(m => HandleStartThink(m));
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="row"></param>
        /// <param name="column"></param>
        /// <param name="board"></param>
        public SimpleBrainActor(GameActor.Board board, PlayerColor playerColor, int attackFactor)
            : this()
        {
            this.board        = board;
            this.playerColor  = playerColor;
            this.attackFactor = attackFactor;

            this.value = new int[board.Size + 1, board.Size + 1, (int)(PlayerColor.Black) + 1];
            this.line  = new int[4, board.Size + 1, board.Size + 1, (int)(PlayerColor.Black) + 1];
        }