Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2/Dungeon.py
diff options
context:
space:
mode:
authordavesilver <nibor123@gmail.com>2010-08-03 18:03:17 (GMT)
committer davesilver <nibor123@gmail.com>2010-08-03 18:03:17 (GMT)
commit0fac3177805c2478d03df5c244ef3d84a07a27a6 (patch)
tree101d3d04240252312b22698cb80151ede2963ead /MAFH2/Dungeon.py
parent9ccb164a18bff4db2cef1191b8deb978c723d72e (diff)
Working on integration
Diffstat (limited to 'MAFH2/Dungeon.py')
-rw-r--r--MAFH2/Dungeon.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/MAFH2/Dungeon.py b/MAFH2/Dungeon.py
index e4fcfab..2a37dab 100644
--- a/MAFH2/Dungeon.py
+++ b/MAFH2/Dungeon.py
@@ -303,6 +303,7 @@ class Dungeon(GameEngineElement):
# \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
#
def draw(self,screen,time_delta):
+ print "room loaded"
profile = self.game_engine.get_object('profile')
dir = profile.playerFacing
current_room = self.rooms[profile.position]
@@ -311,16 +312,19 @@ class Dungeon(GameEngineElement):
left, front, right = self.normalize_dir()
if current_room.get_door( left ) != '0':
self.doorsList[0].makeTransparent(False)
+ print "door to left of you"
else:
self.doorsList[0].makeTransparent(True)
if current_room.get_door( front ) != '0':
self.doorsList[1].makeTransparent(False)
+ print "door in front of you"
else:
self.doorsList[1].makeTransparent(True)
if current_room.get_door( right ) != '0':
self.doorsList[2].makeTransparent(False)
+ print "door to right of you"
else:
self.doorsList[2].makeTransparent(True)