This photo was taken from the center of the castle's foundation looking to the north.  You can see the terrain begin to fall off shortly.  If we looked to the east we would be seeing the main valley (The Moravian Gate) that links Poland with Austria and Hungary.  Small fortresses such as this have historically been used to help control travel through this valley.