Mercurial > pyntnclick
diff gamelib/scenes/engine.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 | 3e91c82c2240 |
children | 821b322e903b |
line wrap: on
line diff
--- a/gamelib/scenes/engine.py Tue Sep 07 17:05:51 2010 +0200 +++ b/gamelib/scenes/engine.py Tue Sep 07 18:13:35 2010 +0200 @@ -146,7 +146,7 @@ INITIAL = 'on' - def is_interactive(self): + def is_interactive(self, tool=None): return False def get_description(self): @@ -256,7 +256,7 @@ return "Those are coolant reservoirs. They look empty." return "The coolant reservoirs are full." - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -340,7 +340,7 @@ return "These pipes carry coolant to the superconductors. " \ "They are very cold." - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -366,7 +366,7 @@ return "Power lines. They are delivering power to the engines." return "Power lines. It looks like they aren't working correctly." - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -383,7 +383,7 @@ INITIAL = 'arrows' - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -400,7 +400,7 @@ INITIAL = 'arrows' - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -417,7 +417,7 @@ INITIAL = 'arrows' - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -433,7 +433,7 @@ INITIAL = 'sign' - def is_interactive(self): + def is_interactive(self, tool=None): return False @@ -449,7 +449,7 @@ INITIAL = 'stars' - def is_interactive(self): + def is_interactive(self, tool=None): return False def get_description(self):