From: Joe Wreschnig Date: Sat, 20 Mar 2010 05:03:52 +0000 (-0700) Subject: Remove unused argument. X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=commitdiff_plain;h=5da55ac7eeae21ee0ca3149bed99c95383397f05 Remove unused argument. --- diff --git a/bulletml/impl.py b/bulletml/impl.py index e800810..938e9e2 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -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