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:
76079fb
)
Add docstrings.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 10 Apr 2010 06:37:28 +0000
(23:37 -0700)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sat, 10 Apr 2010 06:37:28 +0000
(23:37 -0700)
bulletml/impl.py
patch
|
blob
|
history
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index 5d7cb54281eb340f8ee3c7fd5379baeb4b2ebc39..b2a0aaecfe5f86c712c6bf775d5dcb62dd45d6d5 100644
(file)
--- a/
bulletml/impl.py
+++ b/
bulletml/impl.py
@@
-288,9
+288,11
@@
class Bullet(object):
vanished - set to true by a <vanish> action
rank - game difficulty, 0 to 1, default 0.5
tags - string tags set by the running actions
+ appearance - string used to set bullet appearance
Contructor Arguments:
- x, y, direction, speed, target, rank - same as the attributes
+ x, y, direction, speed, target, rank, tags, appearance
+ - same as the above attributes
actions - internal action list
Action - custom Action constructor