CapturePointSystem code has been refactored and some branches "optimized"

This commit is contained in:
verysecrethero
2016-01-14 10:23:27 +01:00
parent b8a41b7c13
commit 5e9a3774ab
2 changed files with 53 additions and 73 deletions
+2
View File
@@ -37,6 +37,8 @@ private:
int m_Team1HomeCapturePoint = m_NotACapturePoint;
int m_Team2HomeCapturePoint = m_NotACapturePoint;
const double m_CaptureTimeToTakeOver = 15.0;
//vectors which will keep track of enter/leave changes
std::vector<std::tuple<EntityID, EntityID>> m_ETriggerTouchVector;
std::vector<std::tuple<EntityID, EntityID>> m_ETriggerLeaveVector;