123456789101112131415161718192021222324252627282930313233343536373839 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #include <StarsModule.h>
- #include <EditorStarsSystemComponent.h>
- #include <EditorStarsComponent.h>
- namespace AZ::Render
- {
- class EditorStarsModule
- : public StarsModule
- {
- public:
- AZ_RTTI(EditorStarsModule, "{3D5FD4A5-4405-408A-BD64-F3B27006DB4A}", StarsModule);
- AZ_CLASS_ALLOCATOR(EditorStarsModule, AZ::SystemAllocator, 0);
- EditorStarsModule()
- {
- m_descriptors.insert(m_descriptors.end(), {
- EditorStarsSystemComponent::CreateDescriptor(),
- EditorStarsComponent::CreateDescriptor(),
- });
- }
- AZ::ComponentTypeList GetRequiredSystemComponents() const override
- {
- return AZ::ComponentTypeList {
- azrtti_typeid<EditorStarsSystemComponent>(),
- };
- }
- };
- }// namespace AZ::Render
- AZ_DECLARE_MODULE_CLASS(Gem_Stars, AZ::Render::EditorStarsModule)
|