/// <summary>
        /// Initializes a new instance of the <see cref="ReversiTable"/> struct.
        /// </summary>
        /// <returns>Reversi table at the beginning of the game.</returns>
        public static ReversiTable InitialState()
        {
            ReversiTable table = new ReversiTable();

            table.occupiedCellsTable = OccupiedCellsBitMap;
            table.playersTable = PlayersCellsBitMap;
            table.stabilityTable = StabilityCellsBitMap;

            return table;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReversiTable"/> struct.
        /// </summary>
        /// <returns>Reversi table at the beginning of the game.</returns>
        public static ReversiTable InitialState()
        {
            ReversiTable table = new ReversiTable();

            table.occupiedCellsTable = OccupiedCellsBitMap;
            table.playersTable       = PlayersCellsBitMap;
            table.stabilityTable     = StabilityCellsBitMap;

            return(table);
        }