Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::TextNodeComponent Class Reference
Inheritance diagram for brenta::TextNodeComponent:
brenta::NodeComponent

Public Member Functions

 TextNodeComponent (const Text &text)
 
void update (float delta_time) override
 
void draw (const glm::mat4 &world_matrix) override
 

Data Fields

Text text
 
- Data Fields inherited from brenta::NodeComponent
tenno::weak_ptr< Nodeowner
 

Detailed Description

Definition at line 16 of file text_node_component.hpp.

Constructor & Destructor Documentation

◆ TextNodeComponent()

brenta::TextNodeComponent::TextNodeComponent ( const Text text)
inline

Definition at line 23 of file text_node_component.hpp.

Member Function Documentation

◆ draw()

void TextNodeComponent::draw ( const glm::mat4 &  world_matrix)
overridevirtual

Implements brenta::NodeComponent.

Definition at line 16 of file text_node_component.cpp.

◆ update()

void TextNodeComponent::update ( float  delta_time)
overridevirtual

Implements brenta::NodeComponent.

Definition at line 11 of file text_node_component.cpp.

Field Documentation

◆ text

Text brenta::TextNodeComponent::text

Definition at line 20 of file text_node_component.hpp.


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