Added a very basic PlayerSystem, and a PlayerComponent.

This commit is contained in:
stiffly
2015-12-11 13:45:19 +01:00
parent 6326a60a79
commit 80f028edf2
10 changed files with 121 additions and 7 deletions
+4
View File
@@ -0,0 +1,4 @@
<c:Player>
<Speed>0</Speed>
<Velocity X="0" Y="0" Z="0"/>
</c:Player>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:t="types">
<xs:import schemaLocation="../Types.xsd" namespace="types"/>
<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>
</xs:element>
</xs:schema>