Mercurial > pyntnclick
comparison gamelib/state.py @ 101:19d784fd3918
Remove debugging prints (descriptions now provide pretty much the same feedback anyway).
author | Simon Cross <simon@simonx> |
---|---|
date | Tue, 24 Aug 2010 09:58:12 +0200 |
parents | ce23fad8ecb3 |
children | 65976205fc2d |
comparison
equal
deleted
inserted
replaced
100:b5b6cbf556e6 | 101:19d784fd3918 |
---|---|
322 def is_interactive(self): | 322 def is_interactive(self): |
323 return True | 323 return True |
324 | 324 |
325 def enter(self, item): | 325 def enter(self, item): |
326 """Called when the cursor enters the Thing.""" | 326 """Called when the cursor enters the Thing.""" |
327 print "Enter %r -> %r" % (item, self) | 327 pass |
328 | 328 |
329 def leave(self): | 329 def leave(self): |
330 """Called when the cursr leaves the Thing.""" | 330 """Called when the cursr leaves the Thing.""" |
331 print "Leaves %r" % self | 331 pass |
332 | 332 |
333 def interact(self, item): | 333 def interact(self, item): |
334 if not self.is_interactive(): | 334 if not self.is_interactive(): |
335 return | 335 return |
336 if item is None: | 336 if item is None: |