diff options
author | Justin Lewis <jtl1728@rit.edu> | 2010-01-22 23:28:45 (GMT) |
---|---|---|
committer | Justin Lewis <jtl1728@rit.edu> | 2010-01-22 23:28:45 (GMT) |
commit | fcd9bc54af3b39d20efb3ab6349eda42ca8ed057 (patch) | |
tree | bc53382ac27ba21d67b1e78b5f49bf5edb23da87 /FortuneMaker.activity/Dungeon.py | |
parent | 03e496150b0a117f2f59cb5fb91a22ab01855676 (diff) |
Switching to menu bar, added some features and content
Diffstat (limited to 'FortuneMaker.activity/Dungeon.py')
-rw-r--r-- | FortuneMaker.activity/Dungeon.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FortuneMaker.activity/Dungeon.py b/FortuneMaker.activity/Dungeon.py index 502a4d4..bb647a2 100644 --- a/FortuneMaker.activity/Dungeon.py +++ b/FortuneMaker.activity/Dungeon.py @@ -1,9 +1,10 @@ from Room import Room class Dungeon: - def __init__( self, name, theme, width, height, room_str = None ): + def __init__( self, name, theme, next, width, height, room_str = None ): self.name = name self.theme = theme + self.next = next self.width = width self.height = height @@ -27,6 +28,7 @@ class Dungeon: def export(self): text = str(self.width) + "x" + str(self.height) + "\n" text += str(self.theme) + "\n" + text += str(self.next) + "\n" for row in self.roomlist: for room in row: text += room.room_to_string() + "\n" |