Changed location and interval triggers to be part of the script because it would make it easier to manage.

This commit is contained in:
Brendan Robert 2014-06-07 13:28:15 -05:00
parent 04b9a40a7b
commit 4444380178

View File

@ -31,25 +31,21 @@
<xs:element name="name" type="xs:string"/> <xs:element name="name" type="xs:string"/>
<xs:element name="description" type="xs:string" minOccurs="0"/> <xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="block" type="tns:block"/> <xs:element name="block" type="tns:block"/>
</xs:sequence> <xs:element name="locationTrigger" minOccurs="0" maxOccurs="unbounded">
</xs:complexType> <xs:complexType>
<xs:complexType name="locationScript"> <xs:attribute name="x" type="xs:int"/>
<xs:complexContent> <xs:attribute name="y" type="xs:int"/>
<xs:extension base="tns:script"> </xs:complexType>
<xs:attribute name="x" type="xs:int"/> </xs:element>
<xs:attribute name="y" type="xs:int"/> <xs:element name="intervalTrigger" minOccurs="0" maxOccurs="unbounded">
</xs:extension> <xs:complexType>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="intervalScript">
<xs:complexContent>
<xs:extension base="tns:script">
<xs:attribute name="start" type="xs:int" use="optional"/> <xs:attribute name="start" type="xs:int" use="optional"/>
<xs:attribute name="end" type="xs:int" use="optional"/> <xs:attribute name="end" type="xs:int" use="optional"/>
<xs:attribute name="period" type="xs:int" use="optional"/> <xs:attribute name="period" type="xs:int" use="optional"/>
<xs:attribute name="ifTrue" type="xs:string" use="optional"/> <xs:attribute name="ifTrue" type="xs:string" use="optional"/>
</xs:extension> </xs:complexType>
</xs:complexContent> </xs:element>
</xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="map"> <xs:complexType name="map">
<xs:sequence> <xs:sequence>