comparison gamelib/scenes/mess.py @ 519:8f3c82c685a4

Fix is_interactive() by adding tool param.
author Jeremy Thurgood <firxen@gmail.com>
date Tue, 07 Sep 2010 18:13:35 +0200
parents 9f488671c02e
children 821b322e903b
comparison
equal deleted inserted replaced
518:3e91c82c2240 519:8f3c82c685a4
246 'anim_pos': -1, 246 'anim_pos': -1,
247 } 247 }
248 248
249 HISS = get_sound('boomslang.ogg') 249 HISS = get_sound('boomslang.ogg')
250 250
251 def is_interactive(self): 251 def is_interactive(self, tool=None):
252 return False 252 return False
253 253
254 def animate(self): 254 def animate(self):
255 if self.get_data('anim_pos') > -1: 255 if self.get_data('anim_pos') > -1:
256 self.current_interact.animate() 256 self.current_interact.animate()