Remove unused argument.
[python-bulletml.git] / bulletml / impl.py
index e800810..938e9e2 100644 (file)
@@ -175,7 +175,7 @@ class Action(object):
                         y += off_y
 
                 bullet = owner.__class__(
-                    x, y, direction, speed, owner.target, actions, self, rank)
+                    x, y, direction, speed, owner.target, actions, rank)
                 created.append(bullet)
 
             elif isinstance(action, parser.ChangeSpeed):
@@ -290,7 +290,7 @@ class Bullet(object):
     """
 
     def __init__(self, x=0, y=0, direction=0, speed=0, target=None,
-                 actions=(), parent=None, rank=0.5, Action=Action):
+                 actions=(), rank=0.5, Action=Action):
         self.x = self.px = x
         self.y = self.py = y
         self.mx = 0