Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def assemble_adventure(self):
- constructors = {'Rooms' : self.rooms,
- 'Exits' : self.exits}
- for section_type, section_contents in self.sections.findall(self.adventure):
- section_contents = self.section_contents.split(section_contents)
- #constructor = constructors[section_type]
- #constructor(section_contents)
- print(type(section_contents))
- for item in section_contents:
- print("===================================")
- print(item)
- print("+++++++++++++++++++++++++++++++++++")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement