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.

23 lines
686 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. // tf_bot_body.h
  3. // Team Fortress NextBot body interface
  4. // Michael Booth, May 2010
  5. #ifndef TF_BOT_BODY_H
  6. #define TF_BOT_BODY_H
  7. #include "NextBot/Player/NextBotPlayerBody.h"
  8. //----------------------------------------------------------------------------
  9. class CTFBotBody : public PlayerBody
  10. {
  11. public:
  12. CTFBotBody( INextBot *bot ) : PlayerBody( bot )
  13. {
  14. }
  15. virtual ~CTFBotBody() { }
  16. virtual float GetHeadAimTrackingInterval( void ) const; // return how often we should sample our target's position and velocity to update our aim tracking, to allow realistic slop in tracking
  17. };
  18. #endif // TF_BOT_BODY_H