diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2014-01-21 01:23:57 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2014-01-21 01:23:57 (GMT) |
commit | 91550e4f651a8cb0f5160eaf706d63890c2375ab (patch) | |
tree | 3ed0c50ba3a2d6b461dc8a1e60a667c8e4661dbf /src/api/Points.py | |
parent | 3e7f035b9526b0daaba740ee915c5f02332c867c (diff) |
CSprite init uses x,y position
Diffstat (limited to 'src/api/Points.py')
-rw-r--r-- | src/api/Points.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/Points.py b/src/api/Points.py index 872b0cb..0d425c2 100644 --- a/src/api/Points.py +++ b/src/api/Points.py @@ -6,8 +6,8 @@ from api.Sprite2 import CSprite class CPoints(CSprite): - def __init__(self): - CSprite.__init__(self) + def __init__(self, x = 0, y = 0): + CSprite.__init__(self, x , y) self.mGoods = 0 self.mBads = 0 |