2 new Events: ECaptured, EWin

Added new variable in CapturePoint: IsHomeCapturePointForTeam
CapturePointSystem updated so -5 = team 2 owns it, +5 = team 1 owns it. Its also looking for a winner each update
Updated Test. TODO: better Tests
This commit is contained in:
verysecrethero
2016-01-12 17:38:02 +01:00
parent 59be714fdc
commit 3a1056a2c3
7 changed files with 88 additions and 10 deletions
@@ -1,4 +1,5 @@
<c:CapturePoint>
<CaptureTimer>0</CaptureTimer>
<OwnedBy>0</OwnedBy>
<IsHomeCapturePointForTeamNumber>0</IsHomeCapturePointForTeamNumber>
</c:CapturePoint>
@@ -11,6 +11,7 @@
<xs:all>
<xs:element name="CaptureTimer" type="t:double" minOccurs="0"/>
<xs:element name="OwnedBy" type="t:int" minOccurs="0"/>
<xs:element name="IsHomeCapturePointForTeamNumber" type="t:int" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>