Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
589 B

  1. // NextBotComponentInterface.cpp
  2. // Implentation of system methods for NextBot component interface
  3. // Author: Michael Booth, May 2006
  4. // Copyright (c) 2006 Turtle Rock Studios, Inc. - All Rights Reserved
  5. #include "cbase.h"
  6. #include "NextBotInterface.h"
  7. #include "NextBotComponentInterface.h"
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. INextBotComponent::INextBotComponent( INextBot *bot )
  11. {
  12. m_curInterval = TICK_INTERVAL;
  13. m_lastUpdateTime = 0;
  14. m_bot = bot;
  15. // register this component with the bot
  16. bot->RegisterComponent( this );
  17. }