BsPhysicsManager.h 731 B

1234567891011121314151617181920212223242526272829
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsCorePrerequisites.h"
  5. #include "BsModule.h"
  6. namespace BansheeEngine
  7. {
  8. class BS_CORE_EXPORT PhysicsFactory
  9. {
  10. public:
  11. virtual ~PhysicsFactory() { }
  12. virtual void startUp() = 0;
  13. virtual void shutDown() = 0;
  14. };
  15. class BS_CORE_EXPORT PhysicsManager : public Module<PhysicsManager>
  16. {
  17. public:
  18. PhysicsManager(const String& pluginName);
  19. ~PhysicsManager();
  20. private:
  21. DynLib* mPlugin;
  22. PhysicsFactory* mFactory;
  23. };
  24. }