Physics_TestSystemComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #include <AzCore/Component/Component.h>
  3. #include <Physics_Test/Physics_TestBus.h>
  4. namespace Physics_Test
  5. {
  6. class Physics_TestSystemComponent
  7. : public AZ::Component
  8. , protected Physics_TestRequestBus::Handler
  9. {
  10. public:
  11. AZ_COMPONENT(Physics_TestSystemComponent, "{3287f44b-6ba5-43e0-ab79-8d1835dce5f7}");
  12. static void Reflect(AZ::ReflectContext* context);
  13. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  14. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  15. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  16. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  17. Physics_TestSystemComponent();
  18. ~Physics_TestSystemComponent();
  19. protected:
  20. ////////////////////////////////////////////////////////////////////////
  21. // Physics_TestRequestBus interface implementation
  22. ////////////////////////////////////////////////////////////////////////
  23. ////////////////////////////////////////////////////////////////////////
  24. // AZ::Component interface implementation
  25. void Init() override;
  26. void Activate() override;
  27. void Deactivate() override;
  28. ////////////////////////////////////////////////////////////////////////
  29. };
  30. }