1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- * 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 "SimulationInterfacesModuleInterface.h"
- #include <AzCore/Memory/Memory.h>
- #include <SimulationInterfaces/SimulationInterfacesTypeIds.h>
- #include <Clients/SimulationEntitiesManager.h>
- #include "Clients/SimulationManager.h"
- namespace SimulationInterfaces
- {
- AZ_TYPE_INFO_WITH_NAME_IMPL(
- SimulationInterfacesModuleInterface, "SimulationInterfacesModuleInterface", SimulationInterfacesModuleInterfaceTypeId);
- AZ_RTTI_NO_TYPE_INFO_IMPL(SimulationInterfacesModuleInterface, AZ::Module);
- AZ_CLASS_ALLOCATOR_IMPL(SimulationInterfacesModuleInterface, AZ::SystemAllocator);
- SimulationInterfacesModuleInterface::SimulationInterfacesModuleInterface()
- {
- m_descriptors.insert(
- m_descriptors.end(),
- {
- SimulationEntitiesManager::CreateDescriptor(),
- SimulationManager::CreateDescriptor(),
- });
- }
- AZ::ComponentTypeList SimulationInterfacesModuleInterface::GetRequiredSystemComponents() const
- {
- return AZ::ComponentTypeList{
- azrtti_typeid<SimulationEntitiesManager>(),
- azrtti_typeid<SimulationManager>(),
- };
- }
- } // namespace SimulationInterfaces
|