// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_UTILITY_COMPONENTS_SKELETONCOMPONENT_HPP #define NAZARA_UTILITY_COMPONENTS_SKELETONCOMPONENT_HPP #include #include #include namespace Nz { class Node; class NAZARA_UTILITY_API SkeletonComponent final : public SkeletonComponentBase { public: SkeletonComponent(std::shared_ptr skeleton); SkeletonComponent(const SkeletonComponent&) = delete; SkeletonComponent(SkeletonComponent&& skeletalComponent) noexcept = default; ~SkeletonComponent() = default; Node* GetRootNode(); SkeletonComponent& operator=(const SkeletonComponent&) = delete; SkeletonComponent& operator=(SkeletonComponent&& skeletalComponent) noexcept = default; private: const Skeleton& GetAttachedSkeleton() const override; }; } #include #endif // NAZARA_UTILITY_COMPONENTS_SKELETONCOMPONENT_HPP