Changeset 269:445f746449fa


Ignore:
Timestamp:
Sep 5, 2009, 2:06:53 PM (11 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@270
Message:

Tweak sapper fox path weighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/animal.py

    r257 r269  
    466466    IMAGE_FILE = 'sprites/sapper_fox.png'
    467467
     468    def __init__(self, pos):
     469        Fox.__init__(self, pos)
     470        self.costs['fence'] = 2 # We don't worry about fences
     471
    468472    def _dig(self, gameboard, dig_pos):
    469473        """Setup dig parameters, to be overridden if needed"""
Note: See TracChangeset for help on using the changeset viewer.