GameJam2021SystemComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #include <AzCore/Component/Component.h>
  3. #include <GameJam2021/GameJam2021Bus.h>
  4. namespace GameJam2021
  5. {
  6. class GameJam2021SystemComponent
  7. : public AZ::Component
  8. , protected GameJam2021RequestBus::Handler
  9. {
  10. public:
  11. AZ_COMPONENT(GameJam2021SystemComponent, "{279b3554-e39f-4db3-b47c-5165ceca58ad}");
  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. GameJam2021SystemComponent();
  18. ~GameJam2021SystemComponent();
  19. protected:
  20. ////////////////////////////////////////////////////////////////////////
  21. // GameJam2021RequestBus interface implementation
  22. ////////////////////////////////////////////////////////////////////////
  23. ////////////////////////////////////////////////////////////////////////
  24. // AZ::Component interface implementation
  25. void Init() override;
  26. void Activate() override;
  27. void Deactivate() override;
  28. ////////////////////////////////////////////////////////////////////////
  29. };
  30. }