changeset 158:794565c8f9f4

Load attacking images
author Neil Muller <drnlmuller@gmail.com>
date Tue, 05 Apr 2011 23:14:48 +0200
parents 15fbe107e475
children 7b111e084aca
files skaapsteker/sprites/player.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skaapsteker/sprites/player.py	Tue Apr 05 23:12:04 2011 +0200
+++ b/skaapsteker/sprites/player.py	Tue Apr 05 23:14:48 2011 +0200
@@ -126,7 +126,7 @@
         return '%s %s %d' % (action, self.facing, tails)
 
     def _load_images(self):
-        for action in ['standing', 'running', 'jumping']:
+        for action in ['standing', 'running', 'jumping', 'attacking']:
             for tails in [0, 1, 2, 4]:
                 self.tails = tails
                 directory = os.path.join('sprites',