changeset 240:9adf5076f3a2

Rename dummy monster
author Neil Muller <drnlmuller@gmail.com>
date Thu, 07 Apr 2011 14:55:29 +0200
parents 6a2f366d5e62
children 4c5941cf2b7f
files data/levels/temple.json data/levels/temple_grounds.json skaapsteker/sprites/enemies.py
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/data/levels/temple.json	Thu Apr 07 14:51:05 2011 +0200
+++ b/data/levels/temple.json	Thu Apr 07 14:55:29 2011 +0200
@@ -25,8 +25,8 @@
         "XXXXXXXXXXXXXXXXXXXX"
     ],
     "enemies": [
-        {"type": "Dummy", "pos": [4, 8], "direction": "left" },
-        {"type": "Dummy", "pos": [15, 11], "direction": "right" }
+        {"type": "RedOni", "pos": [4, 8], "direction": "left" },
+        {"type": "RedOni", "pos": [15, 11], "direction": "right" }
     ],
     "player": {"pos": [4, 17], "direction": "right"}
 }
--- a/data/levels/temple_grounds.json	Thu Apr 07 14:51:05 2011 +0200
+++ b/data/levels/temple_grounds.json	Thu Apr 07 14:55:29 2011 +0200
@@ -20,10 +20,10 @@
         "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
     ],
     "enemies": [
-        {"type": "Dummy", "pos": [19, 2], "direction": "left" },
-        {"type": "Dummy", "pos": [35, 5], "direction": "right" },
-        {"type": "Dummy", "pos": [10, 8], "direction": "left" },
-        {"type": "Dummy", "pos": [26, 11], "direction": "right" }
+        {"type": "RedOni", "pos": [19, 2], "direction": "left" },
+        {"type": "RedOni", "pos": [35, 5], "direction": "right" },
+        {"type": "RedOni", "pos": [10, 8], "direction": "left" },
+        {"type": "RedOni", "pos": [26, 11], "direction": "right" }
     ],
     "player": {"pos": [3, 2], "direction": "right"}
 }
--- a/skaapsteker/sprites/enemies.py	Thu Apr 07 14:51:05 2011 +0200
+++ b/skaapsteker/sprites/enemies.py	Thu Apr 07 14:55:29 2011 +0200
@@ -2,7 +2,7 @@
 from pygame import transform
 
 
-class Dummy(Monster):
+class RedOni(Monster):
     image_dir = 'sprites/oni red'
 
     attack_frame = 1