30 static std::unique_ptr<Object>
create(
const std::shared_ptr<Texture>& texture,
const std::shared_ptr<Model>& model,
const std::string &name,
const Transform3D &transform);
This file contains the Object class.
Class for object factory.
static unsigned int m_currentObjId
ObjectFactory(ObjectFactory &&)=delete
ObjectFactory & operator=(const ObjectFactory &)=delete
ObjectFactory & operator=(ObjectFactory &&)=delete
static std::unique_ptr< Object > duplicate(const Object &objSrc)
ObjectFactory(const ObjectFactory &)=delete
static std::unique_ptr< Object > create(const std::shared_ptr< Texture > &texture, const std::shared_ptr< Model > &model, const std::string &name, const Transform3D &transform)
std::shared_ptr< Model > getModel() const
std::shared_ptr< Texture > getDiffuseMap() const
std::string getName() const