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

Much scene management refactoring.
author Jeremy Thurgood <firxen@gmail.com>
date Tue, 14 Feb 2012 13:39:05 +0200
parents 497b6d7c55e7
children 386475464202
comparison
equal deleted inserted replaced
691:60bf20849231 692:d6ded808cc33
19 def is_interactive(self, tool=None): 19 def is_interactive(self, tool=None):
20 return True 20 return True
21 21
22 def interact_without(self): 22 def interact_without(self):
23 """Go to map.""" 23 """Go to map."""
24 self.game.set_current_scene("map") 24 self.game.change_scene("map")
25 25
26 def get_description(self): 26 def get_description(self):
27 return 'An open doorway leads to the rest of the ship.' 27 return 'An open doorway leads to the rest of the ship.'
28 28
29 def interact_default(self, item): 29 def interact_default(self, item):