|
TazGraph Project v0.1.0
|


Public Member Functions | |
| Empty (Manager &mManager) | |
| void | addToGroup (Group mGroup) override |
| void | removeGroup (Group mGroup) override |
| void | update (float deltaTime) |
| void | cellUpdate () override |
| void | imgui_print () override |
| void | destroy () |
Public Member Functions inherited from EmptyEntity | |
| EmptyEntity (Manager &mManager) | |
| void | setComponentEntity (Component *c) override |
| void | removeFromCell () override |
| void | removeEntityFromCell () override |
Public Member Functions inherited from CellEntity | |
| CellEntity (Manager &mManager) | |
| void | setOwnerCell (Cell *cell) |
| Cell * | getOwnerCell () const |
Public Member Functions inherited from Entity | |
| void | setId (EntityID m_id) |
| EntityID | getId () |
| void | hide () |
| void | reveal () |
| bool | isHidden () |
| Entity (Manager &mManager) | |
| 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) |
| virtual void | onCreation () |
| Entity * | getParentEntity () |
| void | setParentEntity (Entity *pEntity) |
| bool | isActive () |
| bool | hasGroup (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 (NodeComponent *c) |
| virtual void | setComponentEntity (LinkComponent *c) |
| template<typename T > | |
| T & | GetComponent () const |
| template<typename T > | |
| T * | GetComponentPtr () |
| bool | hasComponentByName (const std::string &componentName) |
| Manager * | getManager () |
| virtual void | imgui_display () |
| virtual void | removeFromCells () |
Additional Inherited Members | |
Public Attributes inherited from CellEntity | |
| Cell * | ownerCell = nullptr |
Public Attributes inherited from Entity | |
| bool | isVertical = false |
| float | slotSpacing = 0.0f |
| std::map< EntityID, EntityID > | children |
| child_index(id) -> real_entity_id | |
| std::vector< std::unique_ptr< BaseComponent > > | components |
Protected Attributes inherited from Entity | |
| bool | active = true |
| bool | hidden = false |
| ComponentArray | componentArray = {} |
| ComponentBitSet | componentBitSet |
| GroupBitSet | groupBitSet |
| std::optional< ComponentArray > | nodeComponentArray |
| std::optional< ComponentBitSet > | nodeComponentBitSet |
| Entity * | parent_entity = nullptr |
| Manager & | manager |
| the object doesnt move, so we can have pointer | |
|
inlineoverridevirtual |
Reimplemented from Entity.
|
inlineoverridevirtual |
Reimplemented from Entity.
|
inlinevirtual |
Reimplemented from Entity.
|
inlineoverridevirtual |
Reimplemented from Entity.
|
inlineoverridevirtual |
Reimplemented from Entity.
|
inlinevirtual |
Reimplemented from Entity.