Integration and coverage tests. (Fixes issue #2)
[python-bulletml.git] / examples / normal / threefire-offset.xml
1 <?xml version="1.0" ?>
2 <!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">
3
4 <bulletml xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml"
5 xmlns:py="http://code.google.com/p/python-bulletml/">
6 <action label="top">
7 <actionRef label="threefire">
8 <param>10 + 20 * $rank * $rand</param>
9 </actionRef>
10 </action>
11
12 <action label="threefire">
13 <fire>
14 <bulletRef label="dropper">
15 <param>$1</param>
16 <param>0</param>
17 </bulletRef>
18 <direction>0</direction>
19 </fire>
20 <fire>
21 <bulletRef label="dropper">
22 <param>$1</param>
23 </bulletRef>
24 <py:offset><py:x>5</py:x><py:y>-5</py:y></py:offset>
25 </fire>
26 <fire>
27 <bulletRef label="dropper">
28 <param>$1</param>
29 </bulletRef>
30 <py:offset><py:x>-5</py:x><py:y>-5</py:y></py:offset>
31 </fire>
32 </action>
33
34 <bullet label="dropper">
35 <speed>0</speed>
36 <action>
37 <repeat>
38 <times>$1</times>
39 <action>
40 <fire>
41 <bullet>
42 <direction type="relative">0</direction>
43 <speed type="absolute">1</speed>
44 </bullet>
45 </fire>
46 <wait>4</wait>
47 </action>
48 </repeat>
49 <changeSpeed>
50 <term>1</term>
51 <speed>1</speed>
52 </changeSpeed>
53 </action>
54 </bullet>
55 </bulletml>