Changeset 328:c4f719d34b19


Ignore:
Timestamp:
04/08/11 23:29:25 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
64363239386130656434323935646232393762303332323938323234323239343835653130643836
Message:

Reset animation clock when starting attack animation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r320 r328  
    241241            print 'attacking'
    242242            self.attacking = 2
     243            # Reset the animation clock
     244            self._last_time = time.time()
    243245        print "F1"
    244246
Note: See TracChangeset for help on using the changeset viewer.