Raftel Engine
 
Loading...
Searching...
No Matches
Raftel::BasicComponent Struct Reference

Basic component that provides a name attribute. More...

#include <components.hpp>

Public Member Functions

 BasicComponent ()
 Default constructor.
 
void SetName (std::string n_)
 Sets the name of the component.
 

Public Attributes

std::string name
 

Detailed Description

Basic component that provides a name attribute.

Definition at line 18 of file components.hpp.

Constructor & Destructor Documentation

◆ BasicComponent()

Raftel::BasicComponent::BasicComponent ( )
inline

Default constructor.

Definition at line 23 of file components.hpp.

Member Function Documentation

◆ SetName()

void Raftel::BasicComponent::SetName ( std::string n_)
inline

Sets the name of the component.

Parameters
n_The new name.

Definition at line 28 of file components.hpp.

Member Data Documentation

◆ name

std::string Raftel::BasicComponent::name

Name of the component.

Definition at line 30 of file components.hpp.


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