Mercurial > rinkhals
view gamelib/cursors.py @ 257:fcaae2cfe3cd
Make foxes less determistic when avoiding other foxes
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 13:00:09 +0000 |
parents | bca2f4396de8 |
children | d564ae258471 |
line wrap: on
line source
"""Data for the in game cursors""" import pygame import data cursors = { 'arrow' : pygame.cursors.arrow, 'select' : pygame.cursors.broken_x, } for tag, filename in [ ('chicken', 'cursors/chkn.xbm'), ]: path = data.filepath(filename) # pygame 1.8 needs the file twice to do the right thing # XXX: check behaviour with pygame 1.9 cursors[tag] = pygame.cursors.load_xbm(path, path)