comparison behaviours/player.py @ 34:12071706020f

Fixed error in setting the initial state of the NPC behaviour
author KarstenBock@gmx.net
date Mon, 05 Sep 2011 14:14:42 +0200
parents ec5a55266f6a
children bf506f739322
comparison
equal deleted inserted replaced
33:77dfe4a917b5 34:12071706020f
11 # GNU General Public License for more details. 11 # GNU General Public License for more details.
12 12
13 # You should have received a copy of the GNU General Public License 13 # You should have received a copy of the GNU General Public License
14 # along with PARPG. If not, see <http://www.gnu.org/licenses/>. 14 # along with PARPG. If not, see <http://www.gnu.org/licenses/>.
15 15
16 from base import * 16 import base
17 from base import BaseBehaviour
17 18
18 class PlayerBehaviour (BaseBehaviour): 19 class PlayerBehaviour (BaseBehaviour):
19 def __init__(self, parent=None, layer=None): 20 def __init__(self, parent=None, layer=None):
20 super(PlayerBehaviour, self).__init__(layer) 21 super(PlayerBehaviour, self).__init__(layer)
21 self.parent = parent 22 self.parent = parent