Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::EntityNode Class Referenceexport
Inheritance diagram for Vyroda::EntityNode:
[legend]
Collaboration diagram for Vyroda::EntityNode:
[legend]

Public Member Functions

 EntityNode (std::shared_ptr< Entity > entity)
std::shared_ptr< EntitygetEntity () const
std::shared_ptr< EntityNodegetParent () const
std::vector< std::shared_ptr< EntityNode > > const & getChildren () const
std::shared_ptr< EntityNodeaddChild (std::shared_ptr< EntityNode > child)
void setParent (std::shared_ptr< EntityNode > parent)
void setIsLoaded (bool const is_loaded)
bool isLoaded () const
bool hasChildren ()
std::size_t size () const
void clear ()

Constructor & Destructor Documentation

◆ EntityNode()

Vyroda::EntityNode::EntityNode ( std::shared_ptr< Entity > entity)
inline

Member Function Documentation

◆ addChild()

std::shared_ptr< EntityNode > Vyroda::EntityNode::addChild ( std::shared_ptr< EntityNode > child)
inline

◆ clear()

void Vyroda::EntityNode::clear ( )
inline

◆ getChildren()

std::vector< std::shared_ptr< EntityNode > > const & Vyroda::EntityNode::getChildren ( ) const
inline

◆ getEntity()

std::shared_ptr< Entity > Vyroda::EntityNode::getEntity ( ) const
inline

◆ getParent()

std::shared_ptr< EntityNode > Vyroda::EntityNode::getParent ( ) const
inline

◆ hasChildren()

bool Vyroda::EntityNode::hasChildren ( )
inline

◆ isLoaded()

bool Vyroda::EntityNode::isLoaded ( ) const
inline

◆ setIsLoaded()

void Vyroda::EntityNode::setIsLoaded ( bool const is_loaded)
inline

◆ setParent()

void Vyroda::EntityNode::setParent ( std::shared_ptr< EntityNode > parent)
inline

◆ size()

std::size_t Vyroda::EntityNode::size ( ) const
inline

The documentation for this class was generated from the following file: