示例#1
0
        public override bool Equals(object obj)
        {
            BitboardStateRow row = (BitboardStateRow)obj;

            if (row == null)
            {
                return(false);
            }

            return(this.Value == row.Value);
        }
示例#2
0
 public BitboardState(
     BitboardStateRow stateRowA,
     BitboardStateRow stateRowB,
     BitboardStateRow stateRowC,
     BitboardStateRow stateRowD,
     BitboardStateRow stateRowE,
     BitboardStateRow stateRowF,
     BitboardStateRow stateRowG,
     BitboardStateRow stateRowH,
     BitboardStateRow stateRowI)
 {
     StateRowA = stateRowA;
     StateRowB = stateRowB;
     StateRowC = stateRowC;
     StateRowD = stateRowD;
     StateRowE = stateRowE;
     StateRowF = stateRowF;
     StateRowG = stateRowG;
     StateRowH = stateRowH;
     StateRowI = stateRowI;
 }