Mercurial > rinkhals
view gamelib/icons.py @ 90:23a8b2e49e9f
Added ability to initialize sound and play sounds, and handle sound not working / file being missing etc
author | David Fraser <davidf@sjsoft.com> |
---|---|
date | Wed, 02 Sep 2009 10:34:22 +0000 |
parents | 7d043a210121 |
children | a7d803275a23 |
line wrap: on
line source
"""Constant definitions for the icons we use""" from pgu.gui import Image import data KILLED_FOX = Image(data.filepath('icons/killed_fox.png')) CHKN_ICON = Image(data.filepath('icons/chkn.png'))