Mercurial > rinkhals
diff gamelib/gameboard.py @ 519:f84ad10a9625
Remove move tool. Add basic controls reference dialog
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Fri, 27 Nov 2009 13:55:07 +0000 |
parents | 4166a0051bb6 |
children | 787eb032bf8a |
line wrap: on
line diff
--- a/gamelib/gameboard.py Fri Nov 27 13:34:50 2009 +0000 +++ b/gamelib/gameboard.py Fri Nov 27 13:55:07 2009 +0000 @@ -332,12 +332,8 @@ if self.toolbar.MOVE_SELECT_PERMITTED: if self.selected_tool != constants.TOOL_SELECT_CHICKENS: self.set_selected_tool(constants.TOOL_SELECT_CHICKENS, cursors.cursors["select"]) - if self.toolbar.IS_DEFAULT: - self.toolbar.toggle_select_on() elif self.selected_tool == constants.TOOL_SELECT_CHICKENS: self.set_selected_tool(constants.TOOL_PLACE_ANIMALS, cursors.cursors["chicken"]) - if self.toolbar.IS_DEFAULT: - self.toolbar.toggle_move_on() return elif e.button == 2: # Middle button self.reset_states() @@ -352,8 +348,6 @@ elif self.selected_tool == constants.TOOL_PLACE_ANIMALS: self.place_animal(self.tv.screen_to_tile(e.pos)) self.set_selected_tool(constants.TOOL_SELECT_CHICKENS, cursors.cursors["select"]) - if self.toolbar.IS_DEFAULT: - self.toolbar.toggle_select_on() elif self.selected_tool == constants.TOOL_SELECT_CHICKENS: # ctrl moves current selection without having to select move tool if (mods & KMOD_CTRL):