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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user