R-Type  2
Doom but in better
Loading...
Searching...
No Matches
GUI::ECS::Component Class Reference

#include <Component.hpp>

Inheritance diagram for GUI::ECS::Component:
Inheritance graph
Collaboration diagram for GUI::ECS::Component:
Collaboration graph

Public Member Functions

 Component (const std::uint32_t entity_id=0)
 
virtual ~Component ()=default
 
virtual std::uint32_t getComponentId () const
 
- Public Member Functions inherited from GUI::ECS::EntityNode
 EntityNode (const size_t entityId=0)
 
virtual ~EntityNode ()=default
 
virtual size_t getEntityNodeId () const
 

Protected Attributes

std::uint32_t _entity_id
 
- Protected Attributes inherited from GUI::ECS::EntityNode
size_t _entityID
 

Detailed Description

Definition at line 25 of file Component.hpp.

Constructor & Destructor Documentation

◆ Component()

GUI::ECS::Component::Component ( const std::uint32_t entity_id = 0)
inlineexplicit

Definition at line 27 of file Component.hpp.

◆ ~Component()

virtual GUI::ECS::Component::~Component ( )
virtualdefault

Member Function Documentation

◆ getComponentId()

std::uint32_t GUI::ECS::Component::getComponentId ( ) const
virtual

Definition at line 16 of file Component.cpp.

Field Documentation

◆ _entity_id

std::uint32_t GUI::ECS::Component::_entity_id
protected

Definition at line 32 of file Component.hpp.


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