Added Component to Components.xsd and Entity.xsd

This commit is contained in:
stiffly
2015-12-11 14:27:54 +01:00
parent 094c7fbb44
commit c2435fda2d
5 changed files with 5 additions and 2 deletions
+1
View File
@@ -5,4 +5,5 @@
<xs:include schemaLocation="Components/Model.xsd"/>
<xs:include schemaLocation="Components/Test.xsd"/>
<xs:include schemaLocation="Components/RaptorCopter.xsd"/>
<xs:include schemaLocation="Components/Player.xsd"/>
</xs:schema>
-1
View File
@@ -1,4 +1,3 @@
<c:Player>
<Speed>0</Speed>
<Velocity X="0" Y="0" Z="0"/>
</c:Player>
-1
View File
@@ -6,7 +6,6 @@
<xs:element name="Player">
<xs:complexType>
<xs:all>
<xs:element name="Speed" type="t:double" minOccurs="0"/>
<xs:element name="Velocity" type="t:Vector" minOccurs="0"/>
</xs:all>
</xs:complexType>
+3
View File
@@ -33,6 +33,9 @@
</Entity>
<Entity>
<Components>
<c:Player>
<Velocity X="0" Y="0" Z="0"/>
</c:Player>
<c:Transform>
<Position X="2.5"/>
</c:Transform>
+1
View File
@@ -14,6 +14,7 @@
<xs:element ref="c:Model" minOccurs="0"/>
<xs:element ref="c:Test" minOccurs="0"/>
<xs:element ref="c:RaptorCopter" minOccurs="0"/>
<xs:element ref="c:Player" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>