X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2F__init__.py;h=27faaf03364a52efd3f89b8eb8c3108fe4a1e85e;hp=addc0fee1bce133a4c49fdd890b9bb9a6ecfbb63;hb=405e333fe99b3625b0d89565de4e83984b462a3e;hpb=5942c31cd998d1575cbc2d16f3103c676852572d diff --git a/bulletml/__init__.py b/bulletml/__init__.py index addc0fe..27faaf0 100644 --- a/bulletml/__init__.py +++ b/bulletml/__init__.py @@ -19,7 +19,7 @@ Basic Usage: doc = Bulletml.BulletML.FromDocument(open("test.xml", "rU")) rank = 0.5 # Player difficulty, 0 to 1 params = [] # Initial variable settings, usually empty - actions = [a(params, rank) for a in doc.top] + actions = [a(params, rank) for a in doc.actions] bullet = Bullet(x, y, target=player, actions=actions, rank=rank) bullets = [bullet] ...