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.

43 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: The main manager of the physics
  4. //
  5. // $Revision: $
  6. // $NoKeywords: $
  7. //===========================================================================//
  8. #ifndef PHYSICSMANAGER_H
  9. #define PHYSICSMANAGER_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "gamemanager.h"
  14. #include "tier2/keybindings.h"
  15. #include "tier1/commandbuffer.h"
  16. #include "bitvec.h"
  17. //-----------------------------------------------------------------------------
  18. // Input management
  19. //-----------------------------------------------------------------------------
  20. class CPhysicsManager : public CGameManager<>
  21. {
  22. public:
  23. // Inherited from IGameManager
  24. virtual void Update( );
  25. virtual bool PerformsSimulation() { return true; }
  26. private:
  27. };
  28. //-----------------------------------------------------------------------------
  29. // Singleton accessor
  30. //-----------------------------------------------------------------------------
  31. extern CPhysicsManager *g_pPhysicsManager;
  32. #endif // PHYSICSMANAGER_H