Usually they are built as fortified towers. In later centuries, when the thick walls were not protective against Gunpowder and became useless, they were often changed into houses for the noblety, making extra structures and hacking windows into the walls. There are hardly any real original castles in state of the middle ages anymore. On this one, the original tower is very well visible.