diff src/parpg/behaviours/npc.py @ 57:097cceb06b92

Changed parameters for NPCBehaviour to lower case
author KarstenBock@gmx.net
date Mon, 05 Sep 2011 13:56:27 +0200
parents 4311a0a5378c
children d5491eb9e3e4
line wrap: on
line diff
--- a/src/parpg/behaviours/npc.py	Mon Sep 05 13:15:18 2011 +0200
+++ b/src/parpg/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