diff -r cfa43f975d01 -r bd60b398f92b src/ai/core/ai_controller.hpp --- 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 */