projects
/
python-bulletml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add docstrings.
[python-bulletml.git]
/
bulletml
/
impl.py
diff --git
a/bulletml/impl.py
b/bulletml/impl.py
index
5d7cb54
..
b2a0aae
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
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:
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
actions - internal action list
Action - custom Action constructor