Struct Engine::Name¶
A human-readable name for an entity (e.g. "Player", "Enemy"). More...
#include <Name.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| std::string | value |
Public Static Functions¶
| Type | Name |
|---|---|
| Name | Create (std::string value="") Creates a Name component. |
Detailed Description¶
Only attached to entities that have been given a name; unnamed entities simply don't have this component. Registered by Application.
Public Attributes Documentation¶
variable value¶
Public Static Functions Documentation¶
function Create¶
Creates a Name component.
Parameters:
valueThe name of the entity.
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Components/Name.hpp