Team Fortress 2 Source Code as on 22/4/2020
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.

27 lines
720 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef ITHINKER_H
  5. #define ITHINKER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. //----------------------------------------------------------------------------------------
  12. class IThinker : public IBaseInterface
  13. {
  14. public:
  15. virtual void Think() = 0;
  16. virtual void PostThink() = 0;
  17. virtual bool ShouldThink() const = 0;
  18. };
  19. //----------------------------------------------------------------------------------------
  20. #endif // ITHINKER_H