changeset 224:5d37c73d46e2

Fix actor sprite a bit. Add evil kitsune sprite.
author Simon Cross <hodgestar@gmail.com>
date Thu, 07 Apr 2011 01:34:26 +0200
parents f675abd90529
children 84b6afff51fe
files skaapsteker/sprites/npcs.py
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/skaapsteker/sprites/npcs.py	Thu Apr 07 01:24:54 2011 +0200
+++ b/skaapsteker/sprites/npcs.py	Thu Apr 07 01:34:26 2011 +0200
@@ -29,8 +29,17 @@
 
 
 class Actor(NPC):
-    image_dir = 'dummy.png' # TODO: fix.
-
+    image_dir = 'sprites'
+    animation_regexes = [
+        ("noh", "dummy.png"),
+    ]
 
 class Sasuke(NPC):
     image_dir = 'sprites/sasuke'
+
+
+class Kitsune(NPC):
+    image_dir = 'sprites'
+    animation_regexes = [
+        ("being_evil", "dummy.png"),
+    ]