Mercurial > rinkhals
view gamelib/icons.py @ 369:25f7d4824250
Disable timers during move_foxes loop to stop events piling up too much
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Thu, 10 Sep 2009 15:18:39 +0000 |
parents | fe1e9c18d4d7 |
children | 7b5e4b6dd889 |
line wrap: on
line source
"""Constant definitions for the icons we use""" from pgu.gui import Image import imagecache 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/nest.png')) def animal_icon(animal): return Image(animal.image_left)