From: Joe Wreschnig Date: Sat, 10 Apr 2010 06:37:28 +0000 (-0700) Subject: Add docstrings. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=46bf768bd1369c837794346190b07f8e8a1d3ae2;p=python-bulletml.git Add docstrings. --- diff --git a/bulletml/impl.py b/bulletml/impl.py index 5d7cb54..b2a0aae 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -288,9 +288,11 @@ class Bullet(object): vanished - set to true by a 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