(svn r9159) [NoAI] -Change: moved 'tick' from public to private. Use GetTick() to get its value.
--- a/src/ai/core/ai_controller.hpp Wed Mar 14 01:58:36 2007 +0000
+++ b/src/ai/core/ai_controller.hpp Wed Mar 14 02:14:13 2007 +0000
@@ -8,9 +8,10 @@
#include "../../stdafx.h"
class AIController {
-public:
+private:
uint tick;
+public:
AIController() :
tick(0)
{}
@@ -26,6 +27,11 @@
* Increase the internal ticker.
*/
void IncreaseTick() { this->tick++; }
+
+ /**
+ * Return the value of the ticker.
+ */
+ uint GetTick() { return this->tick; }
};
#endif /* AI_CONTROLLER_HPP */