comp::Entity2D Class Reference
#include <Entity2D.hpp>
Public Member Functions | |
Entity2D (iv::ClientMarker *owner) | |
~Entity2D () | |
void | Register (Entity2D_World *world) |
void | Unregister () |
iv::ClientMarker * | owner () |
bool | registered () |
Entity2D_World * | world () |
Public Attributes | |
Entity2D_TypeId | type |
iv::VLink | v_entity |
iv::ComponentAttr< Entity2D, iv::float2 > | position |
Detailed Description
Definition at line 27 of file Entity2D.hpp.
Constructor & Destructor Documentation
◆ Entity2D()
comp::Entity2D::Entity2D | ( | iv::ClientMarker * | owner | ) |
Definition at line 10 of file Entity2D.cpp.
◆ ~Entity2D()
comp::Entity2D::~Entity2D | ( | ) |
Definition at line 19 of file Entity2D.cpp.
Member Function Documentation
◆ Register()
void comp::Entity2D::Register | ( | Entity2D_World * | world | ) |
Definition at line 24 of file Entity2D.cpp.
◆ Unregister()
void comp::Entity2D::Unregister | ( | ) |
Definition at line 38 of file Entity2D.cpp.
◆ owner()
iv::ClientMarker * comp::Entity2D::owner | ( | ) |
Definition at line 59 of file Entity2D.cpp.
◆ registered()
bool comp::Entity2D::registered | ( | ) |
Definition at line 49 of file Entity2D.cpp.
◆ world()
Entity2D_World * comp::Entity2D::world | ( | ) |
Definition at line 54 of file Entity2D.cpp.
Member Data Documentation
◆ type
Entity2D_TypeId comp::Entity2D::type |
Definition at line 41 of file Entity2D.hpp.
◆ v_entity
iv::VLink comp::Entity2D::v_entity |
Definition at line 42 of file Entity2D.hpp.
◆ position
iv::ComponentAttr< Entity2D, iv::float2 > comp::Entity2D::position |
Definition at line 45 of file Entity2D.hpp.
The documentation for this class was generated from the following files:
- iv_components/Entity2D/Entity2D.hpp
- iv_components/Entity2D/Entity2D.cpp