Changeset 115:b73724bb93f8


Ignore:
Timestamp:
Apr 4, 2011, 7:45:59 PM (9 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Message:

Fix fox facing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r113 r115  
    4545
    4646    def action_left(self):
     47        if self.facing != 'left':
     48            self.facing = 'left'
     49            self.set_image()
    4750        self.deltav((-100.0, 0.0))
    4851
    4952    def action_right(self):
     53        if self.facing != 'right':
     54            self.facing = 'right'
     55            self.set_image()
    5056        self.deltav((100.0, 0.0))
    5157
Note: See TracChangeset for help on using the changeset viewer.