comparison src/parpg/behaviours/npc.py @ 83:9f8faf6e974d

Added BaseBehaviour. Moved methods from MovingAgentBehaviour to BaseBehaviour.
author KarstenBock@gmx.net
date Fri, 09 Sep 2011 15:18:17 +0200
parents 7cb53edfb95f
children ecac92680bef
comparison
equal deleted inserted replaced
82:7cb53edfb95f 83:9f8faf6e974d
15 15
16 from random import randrange 16 from random import randrange
17 17
18 from fife import fife 18 from fife import fife
19 19
20 import moving 20 import base
21 from moving import MovingAgentBehaviour 21 from moving import MovingAgentBehaviour
22 22
23 class NPCBehaviour(MovingAgentBehaviour): 23 class NPCBehaviour(MovingAgentBehaviour):
24 """This is a basic NPC behaviour""" 24 """This is a basic NPC behaviour"""
25 def __init__(self, parent=None): 25 def __init__(self, parent=None):