#pragma once #include "Mesh.h" #include "Transform.h" #include "Material.h" #include class Entity { public: Entity( std::shared_ptr _material, std::shared_ptr _mesh); void Draw(std::shared_ptr _camera, DirectX::XMFLOAT3 _ambient, std::vector _lights); Transform* GetTransform(); std::shared_ptr GetMesh(); std::shared_ptr GetMaterial(); void SetMaterial(std::shared_ptr _material); private: Transform transform; std::shared_ptr mesh; std::shared_ptr material; };