comparison 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
comparison
equal deleted inserted replaced
56:b60461cb8464 57:097cceb06b92
17 17
18 from base import * 18 from base import *
19 19
20 class NPCBehaviour(BaseBehaviour): 20 class NPCBehaviour(BaseBehaviour):
21 """This is a basic NPC behaviour""" 21 """This is a basic NPC behaviour"""
22 def __init__(self, Parent=None, Layer=None): 22 def __init__(self, parent=None, layer=None):
23 super(NPCBehaviour, self).__init__(Layer) 23 super(NPCBehaviour, self).__init__(layer)
24 24
25 self.parent = Parent 25 self.parent = Parent
26 self.state = _AGENT_STATE_NONE 26 self.state = _AGENT_STATE_NONE
27 self.pc = None 27 self.pc = None
28 self.target_loc = None 28 self.target_loc = None