It is influenced by the tragedies of Sophocles and Seneca , and tells the story of princess Alvida of Norway , who is forcibly married off to the Goth king Torrismondo , when she is devoted to her childhood friend , king Germondo of Sweden .