projects
/
python-bulletml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673e898
)
Remove unused argument.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 20 Mar 2010 05:03:52 +0000
(22:03 -0700)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 20 Mar 2010 05:03:52 +0000
(22:03 -0700)
bulletml/impl.py
patch
|
blob
|
history
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index e800810c798de5401b813c926a015d8e851d8919..938e9e23ad85567a7a38c5a55d385af6cf5ba70f 100644
(file)
--- 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