|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Name component for debugging and identification. More...
#include <Common.hpp>
Public Member Functions | |
| Name ()=default | |
| Default constructor (empty name). | |
| Name (const std::string &name) | |
| Constructs with name (copy). | |
| Name (std::string &&name) | |
| Constructs with name (move). | |
| Name (const char *name) | |
| Constructs with C-string. | |
Public Attributes | |
| std::string | value |
| The entity's name. | |
Name component for debugging and identification.
Attaches a human-readable name to an entity for debugging, editor display, or lookup purposes.
Definition at line 88 of file Common.hpp.
|
default |
Default constructor (empty name).
|
inlineexplicit |
Constructs with name (copy).
| name | The name string |
Definition at line 99 of file Common.hpp.
References value.
|
inlineexplicit |
Constructs with name (move).
| name | The name string (moved) |
Definition at line 105 of file Common.hpp.
References value.
|
inlineexplicit |
Constructs with C-string.
| name | The name string |
Definition at line 111 of file Common.hpp.
References value.
| std::string esengine::ecs::Name::value |
The entity's name.
Definition at line 90 of file Common.hpp.