comparison gamelib/scenes/map.py @ 692:d6ded808cc33 pyntnclick

Much scene management refactoring.
author Jeremy Thurgood <firxen@gmail.com>
date Tue, 14 Feb 2012 13:39:05 +0200
parents 3ce19d33b51f
children 43b49f1de828
comparison
equal deleted inserted replaced
691:60bf20849231 692:d6ded808cc33
55 DEST = None 55 DEST = None
56 56
57 def interact(self, _item): 57 def interact(self, _item):
58 """Go to destination.""" 58 """Go to destination."""
59 if self.DEST in self.game.scenes: 59 if self.DEST in self.game.scenes:
60 self.game.set_current_scene(self.DEST) 60 self.game.change_scene(self.DEST)
61 61
62 62
63 class ToCryo(DoorThing): 63 class ToCryo(DoorThing):
64 "Way to cryo room." 64 "Way to cryo room."
65 65