|
Brenta Engine 1.0
|
#include <component.hpp>
Public Member Functions | |
| bool | operator== (const Component &other) const |
Data Fields | |
| Entity | entity |
Component class.
This class is used to create components. Components are used to store data that is associated with an entity. For example, a Position component could store the position of the entity.
Example creating a component:
You need to provide a default constructor, any other constructor is optional.
Definition at line 60 of file component.hpp.
|
inline |
Definition at line 64 of file component.hpp.
| Entity Brenta::ECS::Component::entity |
Definition at line 62 of file component.hpp.