Mercurial > parpg-source
changeset 36:a236fff5feea
Added pos value to the FifeAgent component
author | KarstenBock@gmx.net |
---|---|
date | Mon, 05 Sep 2011 14:44:53 +0200 |
parents | 895be696ae86 |
children | 59ea103917ae |
files | components/fifeagent.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/components/fifeagent.py Mon Sep 05 14:43:48 2011 +0200 +++ b/components/fifeagent.py Mon Sep 05 14:44:53 2011 +0200 @@ -12,13 +12,14 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. from parpg.grease.component import Component +from grease.geometry import Vec2d class FifeAgent(Component): """Component that stores the values for a fife agent""" def __init__(self): """Constructor""" - Component.__init__(self, identifier=int, layer=object, behaviour=object, gfx=str) + Component.__init__(self, identifier=str, layer=object, behaviour=object, gfx=str, pos=Vec2d) def setup_behaviour(agent):