diff gamelib/gameboard.py @ 294:29e9683055dc

Explain horrible hack
author Neil Muller <drnlmuller@gmail.com>
date Sat, 05 Sep 2009 16:19:16 +0000
parents bf271e857157
children 88a626202591
line wrap: on
line diff
--- a/gamelib/gameboard.py	Sat Sep 05 16:15:17 2009 +0000
+++ b/gamelib/gameboard.py	Sat Sep 05 16:19:16 2009 +0000
@@ -118,6 +118,9 @@
         self.add_tool("Finished Day", self.day_done)
 
         self.anim_clear_tool = False # Flag to clear the tool on an anim loop
+        # pgu's tool widget fiddling happens after the tool action, so calling
+        # clear_tool in the tool's action doesn't work, so we punt it to
+        # the anim loop
 
     def day_done(self):
         import engine