public char IsKingOrMen(AvailableObject i_AvailableObject, ref Piece[] io_Matrix) { char sign; if (GotToTheEnd(i_AvailableObject)) { sign = i_AvailableObject.GetKingSignOfPiece(); } else { sign = io_Matrix[i_AvailableObject.GetIndexInMatrix()].Sign; } return(sign); }
internal void UpdateMenPieces(AvailableObject i_AvailableObject) { MensPieces[i_AvailableObject.GetIndexInMatrix()].IndexInMatrix = i_AvailableObject.indexMoveTo; }