changeset 272:cade64404997

Use (wrecking) ball for smashing down trees.
author Simon Cross <hodgestar@gmail.com>
date Sat, 05 Sep 2009 14:12:29 +0000
parents c6cd51ab46ab
children b13c2f0be9a3
files gamelib/cursors.py gamelib/gameboard.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/cursors.py	Sat Sep 05 14:11:02 2009 +0000
+++ b/gamelib/cursors.py	Sat Sep 05 14:12:29 2009 +0000
@@ -8,6 +8,7 @@
 cursors = {
         'arrow' : pygame.cursors.arrow,
         'select' : pygame.cursors.broken_x,
+        'ball': pygame.cursors.ball,
         }
 
 for tag, filename in [
--- a/gamelib/gameboard.py	Sat Sep 05 14:11:02 2009 +0000
+++ b/gamelib/gameboard.py	Sat Sep 05 14:12:29 2009 +0000
@@ -81,7 +81,7 @@
         self.add_tool_button("Move Hen", constants.TOOL_PLACE_ANIMALS,
                 None, cursors.cursors['select'])
         self.add_tool_button("Cut Trees", constants.TOOL_LOGGING,
-                constants.LOGGING_PRICE)
+                constants.LOGGING_PRICE, cursors.cursors['ball'])
         self.add_spacer(20)
 
         self.add_heading("Sell ...")