# HG changeset patch # User KarstenBock@gmx.net # Date 1315226728 -7200 # Node ID 565ceb192cb9f25fc7535e5872c90835aaab0e7a # Parent 23563e30da6636622c6d4cde528c45539d2fa6f4 Added pos paramenter to the Character entity diff -r 23563e30da66 -r 565ceb192cb9 src/parpg/entities/character.py --- a/src/parpg/entities/character.py Mon Sep 05 14:44:53 2011 +0200 +++ b/src/parpg/entities/character.py Mon Sep 05 14:45:28 2011 +0200 @@ -12,10 +12,12 @@ # along with this program. If not, see . from parpg.grease import Entity +from parpg.grease.geometry import Vec2d class Character(Entity): def __init__(self, world, view_name, real_name, desc, statistics, max_bulk, - identifier, layer=None, behaviour=None, gfx=None, items=None + identifier, layer=None, behaviour=None, gfx=None, + pos=Vec2d(0.0, 0.0), items=None ): self.characterstats.statistics = statistics @@ -30,3 +32,4 @@ self.fifeagent.layer = layer self.fifeagent.behaviour = behaviour self.fifeagent.gfx = gfx + self.fifeagent.pos = pos