the courtyard was brilliant with sun , hazy glints cast off the bayonets of the troops drilling smartly on the grounds , and the encircling walls blocked the best part of the breeze which had cooled them on the walk up from the beach .