A VisionTimer (called 'timer') is provided in all skills and plays by the base skill/play classes. If additional timers are needed you can instantiate new VisionTimer objects. To instantiate a VisionTimer, you must pass the constructor a pointer to the Vision Module so the timer can get a handle on current and previous time stamps.
Timers provide two methods for easy use:
Resetting the timer records the finished timestamp from the current vision frame. Subsequent calls to getElapsedTime() returns the difference between the current final vision timestamp and the timers recorded timestamp. If the AI is not getting timestamped vision data (whenever the AI is not connected to the vision system/simulator), Vision Timers will not increment.