Stricter PEP-8 conformance.
[python-bulletml.git] / examples / popcorn / towards.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 <py:if><py:cond>$rand > 0.7</py:cond>
8 <py:then><fire><bullet/><py:appearance>red</py:appearance></fire></py:then>
9 <py:else>
10 <py:if><py:cond>$rand > 0.5</py:cond>
11 <py:then><fire><bullet/><py:appearance>blue</py:appearance></fire></py:then>
12 <py:else><fire><bullet/><py:appearance>green</py:appearance></fire></py:else>
13 </py:if>
14 </py:else>
15 </py:if>
16 </action>
17 </bulletml>