![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ObjectComponent.h>
Inheritance diagram for AIComponent:
Collaboration diagram for AIComponent:Public Member Functions | |
| AIComponent ()=default | |
| virtual | ~AIComponent () override=default |
| virtual ComponentType | GetComponentType () const override |
| virtual void | SetOwner (Object *_owner) override |
| virtual void | Process () override |
| virtual void | OnEvent (const Message &msg) override |
Public Member Functions inherited from ObjectComponent | |
| ObjectComponent ()=default | |
| virtual | ~ObjectComponent ()=default |
| Object * | GetEntity () const |
| virtual void | SetEntity (Object *_owner) |
| virtual void | Initialize () |
| virtual void | Render () |
| virtual void | RenderDebug () |
| Object * | GetOwner () const |
Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () |
| uint64_t | GetUID () const |
Additional Inherited Members | |
Public Attributes inherited from Object | |
| std::string | name = "unnamed_object" |
Protected Attributes inherited from ObjectComponent | |
| Object * | owner = nullptr |
| GameObject * | gao = nullptr |
Protected Attributes inherited from Object | |
| uint64_t | uid = 0 |
Static Protected Attributes inherited from ObjectComponent | |
| static float & | fDt = GameEngine::fDt |
Definition at line 75 of file ObjectComponent.h.
|
explicitdefault |
|
overridevirtualdefault |
|
inlineoverridevirtual |
Reimplemented from ObjectComponent.
Reimplemented in AI_Npc, and AI_Player.
Definition at line 32 of file ObjectComponent.cpp.
References GetComponentTypeID_Static(), and ObjectComponent::OnEvent().
Here is the call graph for this function:Reimplemented from ObjectComponent.
Reimplemented in AI_Npc, and AI_Player.
Definition at line 82 of file ObjectComponent.h.
Reimplemented from ObjectComponent.
Reimplemented in AI_Npc, and AI_Player.
Definition at line 7 of file ObjectComponent.cpp.
References Entity, GetComponentTypeID_Static(), ObjectComponent::owner, ObjectComponent::SetOwner(), and SYSTEM_LOG.
Referenced by AI_Player::SetOwner().
Here is the call graph for this function:
Here is the caller graph for this function: