GatheringRowRequests.h 884 B

12345678910111213141516171819202122232425262728
  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 "GatheringRowRequests.h"
  10. #include <AzCore/EBus/EBus.h>
  11. #include <AzCore/Math/Transform.h>
  12. #include <AzCore/std/containers/vector.h>
  13. namespace AppleKraken
  14. {
  15. using GatheringPoses = AZStd::vector<AZ::Transform>;
  16. //! Demo component wrapping information about gathering positions (single row of apple trees)
  17. class GatheringRowRequests : public AZ::EBusTraits
  18. {
  19. public:
  20. static constexpr AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple;
  21. virtual GatheringPoses GetGatheringPoses() = 0;
  22. };
  23. using GatheringRowRequestBus = AZ::EBus<GatheringRowRequests>;
  24. } // namespace AppleKraken