X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;f=bulletml%2F__init__.py;h=27faaf03364a52efd3f89b8eb8c3108fe4a1e85e;hb=673e8986b11645ac6c8419cc49b39c06075c4f15;hp=addc0fee1bce133a4c49fdd890b9bb9a6ecfbb63;hpb=70d25195d561d8b5d3126c6bbac0ecad2a502f06;p=python-bulletml.git 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] ...