changeset 32:050dc40f9a76

Changed parameters for NPCBehaviour to lower case
author KarstenBock@gmx.net
date Mon, 05 Sep 2011 13:56:27 +0200
parents 2b51d0010e1c
children 77dfe4a917b5
files behaviours/npc.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/behaviours/npc.py	Mon Sep 05 13:15:18 2011 +0200
+++ b/behaviours/npc.py	Mon Sep 05 13:56:27 2011 +0200
@@ -19,8 +19,8 @@
 
 class NPCBehaviour(BaseBehaviour):
     """This is a basic NPC behaviour"""
-    def __init__(self, Parent=None, Layer=None):
-        super(NPCBehaviour, self).__init__(Layer)
+    def __init__(self, parent=None, layer=None):
+        super(NPCBehaviour, self).__init__(layer)
         
         self.parent = Parent
         self.state = _AGENT_STATE_NONE