TazGraph Project v0.1.0
|
Public Member Functions | |
NodeEntity (Manager &mManager) | |
void | setComponentEntity (NodeComponent *c) override |
void | removeEntity () override |
void | addInLink (LinkEntity *link) |
void | addOutLink (LinkEntity *link) |
const std::vector< LinkEntity * > & | getInLinks () const |
const std::vector< LinkEntity * > & | getOutLinks () const |
virtual void | addPorts () |
virtual void | removePorts () |
virtual void | updatePorts (float deltaTime) |
![]() | |
EmptyEntity (Manager &mManager) | |
void | setComponentEntity (Component *c) override |
Entity * | getParentEntity () override |
void | setParentEntity (Entity *pEntity) override |
void | removeFromCell () |
![]() | |
CellEntity (Manager &mManager) | |
void | setOwnerCell (Cell *cell) |
Cell * | getOwnerCell () const |
![]() | |
void | setId (unsigned int m_id) |
unsigned int | getId () |
void | hide () |
void | reveal () |
bool | isHidden () |
Entity (Manager &mManager) | |
virtual void | update (float deltaTime) |
virtual void | cellUpdate () |
void | draw (size_t e_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window) |
void | draw (size_t e_index, LineRenderer &batch, TazGraphEngine::Window &window) |
void | draw (size_t e_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window) |
void | draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window) |
bool | isActive () |
virtual void | destroy () |
bool | hasGroup (Group mGroup) |
virtual void | addGroup (Group mGroup) |
void | removeGroup (Group mGroup) |
template<typename T > | |
bool | hasComponent () const |
template<typename T , typename... TArgs> | |
T & | addComponent (TArgs &&... mArgs) |
have addScript function | |
template<typename T > | |
void | removeComponent () |
virtual void | setComponentEntity (LinkComponent *c) |
template<typename T > | |
T & | GetComponent () const |
bool | hasComponentByName (const std::string &componentName) |
Manager * | getManager () |
virtual void | addMessage (std::string mMessage) |
virtual void | imgui_print () |
virtual void | imgui_display () |
Protected Attributes | |
std::vector< LinkEntity * > | inLinks |
std::vector< LinkEntity * > | outLinks |
![]() | |
Entity * | parent_entity = nullptr |
![]() | |
std::optional< ComponentArray > | nodeComponentArray |
std::optional< ComponentBitSet > | nodeComponentBitSet |
Manager & | manager |
Additional Inherited Members | |
![]() | |
Cell * | ownerCell = nullptr |
![]() | |
std::unordered_map< std::string, EmptyEntity * > | children |
std::vector< std::unique_ptr< BaseComponent > > | components |
|
inlineoverridevirtual |
Reimplemented from EmptyEntity.
|
inlineoverridevirtual |
Reimplemented from Entity.