Mercurial > mamba
comparison mamba/snake.py @ 311:3b7288064935
Revert accidentally commited tweak to the snake's tongue
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Fri, 16 Sep 2011 18:38:17 +0200 |
parents | 31bbd0ed9b63 |
children | 8a6ef789bd45 |
comparison
equal
deleted
inserted
replaced
310:b371c2ea309e | 311:3b7288064935 |
---|---|
300 self.make_images() | 300 self.make_images() |
301 self.update_image() | 301 self.update_image() |
302 | 302 |
303 def shifted_tile(self): | 303 def shifted_tile(self): |
304 if random.random() < 0.02: | 304 if random.random() < 0.02: |
305 #self.mouth_open() | 305 self.mouth_open() |
306 self.tongue_out() | 306 self.tongue_out() |
307 else: | 307 else: |
308 self.mouth_close() | 308 self.mouth_close() |
309 self.tongue_in() | 309 self.tongue_in() |
310 | 310 |