Struct TagComponent#
Defined in File Components.h
Struct Documentation#
-
struct TagComponent#
Tag component. Every entity has a tag component containing the name for the entity. This component may not be added/removed to/from an entity.
Public Functions
-
constexpr TagComponent() noexcept = default#
Constructor.
-
inline explicit constexpr TagComponent(std::string tag) noexcept#
Constructor.
- Parameters:
tag – Tag to use.
Public Members
-
std::string Tag#
-
constexpr TagComponent() noexcept = default#