Mercurial > boomslang
comparison gamelib/scenes/cryo.py @ 270:d4f08abc58fb
Interactivity status tweaks
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Fri, 27 Aug 2010 20:43:29 +0200 |
parents | 3b4a78422201 |
children | e3a2d73e94f4 |
comparison
equal
deleted
inserted
replaced
269:95e4021e9959 | 270:d4f08abc58fb |
---|---|
259 | 259 |
260 def __init__(self, number, description, detailed_description, areas): | 260 def __init__(self, number, description, detailed_description, areas): |
261 super(GenericCryoUnit, self).__init__('cryo.unit', number, description, areas) | 261 super(GenericCryoUnit, self).__init__('cryo.unit', number, description, areas) |
262 self.detailed_description = detailed_description | 262 self.detailed_description = detailed_description |
263 | 263 |
264 def is_interactive(self): | |
265 return True | |
266 | |
264 def interact_without(self): | 267 def interact_without(self): |
265 return Result(self.detailed_description) | 268 return Result(self.detailed_description) |
266 | 269 |
267 def get_description(self): | 270 def get_description(self): |
268 return self.description | 271 return self.description |