Changeset 47:be2496df2368


Ignore:
Timestamp:
Aug 31, 2009, 4:57:39 PM (11 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@48
Message:

Add egg image to egg sprite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/animal.py

    r44 r47  
    3636class Egg(Animal):
    3737    """An egg"""
     38
     39    def __init__(self, pos):
     40        image = imagecache.load_image('sprites/egg.png')
     41        Animal.__init__(self, image, pos)
    3842
    3943    # Eggs don't move
Note: See TracChangeset for help on using the changeset viewer.