in addition to the very well-preserved Trim Castle (the top of which this photo was taken), there is a very well-preserved Barbican gate. each side of the gate served as a different location during the filming of Braveheart. one side was York, and I forget the name of the other location.
Barbican gates were designed to give archers an advantage over advancing troops and this one had two drawbridges.