Mercurial > boomslang
diff gamelib/cursor.py @ 108:ab11689aec36
Cursor uses draw_over() rather than draw().
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Tue, 24 Aug 2010 14:17:09 +0200 |
parents | da547e148532 |
children | 13d8cb1d5962 |
line wrap: on
line diff
--- a/gamelib/cursor.py Tue Aug 24 14:07:07 2010 +0200 +++ b/gamelib/cursor.py Tue Aug 24 14:17:09 2010 +0200 @@ -28,7 +28,8 @@ self._cursor_group = RenderUpdates() self._cursor_name = '' - def draw(self, _surface): + def draw_over(self, _surface): + Widget.draw_over(self, _surface) surface = self.get_root().surface if self.rect.collidepoint(mouse.get_pos()): cursor = self.get_sprite_cursor()