Mercurial > parpg-core
comparison src/parpg/behaviours/player.py @ 59:2915dbb60940
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 | 4311a0a5378c |
children | 58661f5b2f6b |
comparison
equal
deleted
inserted
replaced
58:d5491eb9e3e4 | 59:2915dbb60940 |
---|---|
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 |