ChessBoard: use ".class" to get Class objects

instead of the kludge method of
EnumName.ENUM_CONSTANT.getDeclaringClass();