Paper_KidSystemComponent.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/Component/Component.h>
  10. #include <Paper_Kid/Paper_KidBus.h>
  11. namespace Paper_Kid
  12. {
  13. class Paper_KidSystemComponent
  14. : public AZ::Component
  15. , protected Paper_KidRequestBus::Handler
  16. {
  17. public:
  18. AZ_COMPONENT(Paper_KidSystemComponent, "{6C113FD8-0849-4B54-961A-5C4AADDACB33}");
  19. static void Reflect(AZ::ReflectContext* context);
  20. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  21. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  22. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  23. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  24. Paper_KidSystemComponent();
  25. ~Paper_KidSystemComponent();
  26. protected:
  27. ////////////////////////////////////////////////////////////////////////
  28. // Paper_KidRequestBus interface implementation
  29. ////////////////////////////////////////////////////////////////////////
  30. ////////////////////////////////////////////////////////////////////////
  31. // AZ::Component interface implementation
  32. void Init() override;
  33. void Activate() override;
  34. void Deactivate() override;
  35. ////////////////////////////////////////////////////////////////////////
  36. };
  37. }