Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2/Dungeon.py
diff options
context:
space:
mode:
authorKevin Hockey <Blitzkev@gmail.com>2010-08-05 17:15:38 (GMT)
committer Kevin Hockey <Blitzkev@gmail.com>2010-08-05 17:15:38 (GMT)
commitf186d6247a43725667fe53994d522920583c71c0 (patch)
tree610eb80e80d0aa3ed06bd89b2898ea41323e1194 /MAFH2/Dungeon.py
parent0527d25fb0c0a3c22c6b10d1bf85b72c3947fd90 (diff)
changed draw methods to no longer pass unneeded data
Diffstat (limited to 'MAFH2/Dungeon.py')
-rw-r--r--MAFH2/Dungeon.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/MAFH2/Dungeon.py b/MAFH2/Dungeon.py
index 8791157..e945fea 100644
--- a/MAFH2/Dungeon.py
+++ b/MAFH2/Dungeon.py
@@ -306,10 +306,7 @@ class Dungeon(GameEngineElement):
elif dir == WEST:
return 'S', 'W', 'N'
-#-------------------------------------------------------------------------------------------------------------------------------------------------------
-# \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
-#
- def draw(self,screen,time_delta):
+ def draw(self):
profile = self.game_engine.get_object('profile')
dir = profile.playerFacing
current_room = self.rooms[profile.position]