Mercurial > rinkhals
diff gamelib/icons.py @ 201:fe1e9c18d4d7
layering bugfix; indoor chickens now use normal chicken icons
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Fri, 04 Sep 2009 20:16:51 +0000 |
parents | a7d803275a23 |
children | 7b5e4b6dd889 |
line wrap: on
line diff
--- a/gamelib/icons.py Fri Sep 04 19:51:19 2009 +0000 +++ b/gamelib/icons.py Fri Sep 04 20:16:51 2009 +0000 @@ -6,5 +6,7 @@ KILLED_FOX = Image(imagecache.load_image('icons/killed_fox.png')) CHKN_ICON = Image(imagecache.load_image('icons/chkn.png')) -EMPTY_NEST_ICON = Image(imagecache.load_image('sprites/emptynest.png')) -CHKN_NEST_ICON = Image(imagecache.load_image('sprites/chknnest.png')) +EMPTY_NEST_ICON = Image(imagecache.load_image('sprites/nest.png')) + +def animal_icon(animal): + return Image(animal.image_left)