comparison gamelib/animal.py @ 293:78c49d87e175

oops - bugfix
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Sat, 05 Sep 2009 16:15:17 +0000
parents 664bba9be40a
children 32149b1d9fd2
comparison
equal deleted inserted replaced
292:bf271e857157 293:78c49d87e175
222 222
223 class Egg(Animal): 223 class Egg(Animal):
224 """An egg""" 224 """An egg"""
225 225
226 def __init__(self, pos): 226 def __init__(self, pos):
227 image = imagecache.load_image('sprites/egg.png') 227 image = imagecache.load_image('sprites/equip_egg.png')
228 Animal.__init__(self, image, image, pos) 228 Animal.__init__(self, image, image, pos)
229 self.timer = 2 229 self.timer = 2
230 230
231 # Eggs don't move 231 # Eggs don't move
232 232