Create a link class connecting passages
Is your feature related to a problem? Please describe.
A link object connects to passages with each other. As links can be created without the next passage to be created, its reference to the next passage can be a string and not a passage object. Two links are equal if they have the same name. Also possible to make links equal if all attributes are equal.
Describe the solution you'd like.
The image below shows the class diagram of the Link. Actions is a list of action objects which modify the player in some way, but this is an interface which is added later. Skip this attribute for later. Create tests to both describe how the functionality should behave and for trust in the code.
Edited by Carl Gützkow
