Mercurial > parpg-core
diff src/parpg/entities/character.py @ 53:7c6e2e39b545
Move setup_behaviour method of the Character entity to a function in fifeagent.py
author | KarstenBock@gmx.net |
---|---|
date | Sun, 04 Sep 2011 16:25:23 +0200 |
parents | 872e9ca29969 |
children | 565ceb192cb9 |
line wrap: on
line diff
--- a/src/parpg/entities/character.py Sun Sep 04 15:19:47 2011 +0200 +++ b/src/parpg/entities/character.py Sun Sep 04 16:25:23 2011 +0200 @@ -30,8 +30,3 @@ self.fifeagent.layer = layer self.fifeagent.behaviour = behaviour self.fifeagent.gfx = gfx - - def setup_behaviour(self): - """Attach the behaviour to the layer""" - if self.fifeagent.behaviour: - self.fifeagent.behaviour.attachToLayer(self.fifeagent.identifier)