xml/xsd files changed type to double. fixed cooldownbug in PlayerSystem. Added 4 tests in ShootEventTest and generalized it a lot
This commit is contained in:
@@ -4,10 +4,17 @@
|
||||
<xs:import schemaLocation="../Types.xsd" namespace="types"/>
|
||||
|
||||
<xs:element name="SecondaryItem">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The Players Secondary Item/Weapon</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element name="Ammo" type="t:int" minOccurs="0"/>
|
||||
<xs:element name="CoolDownTimer" type="t:double" minOccurs="0"/>
|
||||
<xs:element name="Ammo" type="t:double" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Ammo count</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="CoolDownTimer" type="t:double" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Cooldown till next item/weapon use</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
Reference in New Issue
Block a user