Base class for all components in the Xenon framework.
More...
#include <component.hpp>
|
virtual void | Init () |
| Will be executed when the component is initialized.
|
|
virtual void | Update () |
| If Update loop enabled, this function will be executed every frame.
|
|
virtual void | UpdateCurrentTarget (TargetProfile *target) |
| If Update loop enabled, this function will be executed every frame for each target.
|
|
virtual | ~CComponent ()=default |
|
Base class for all components in the Xenon framework.
◆ ~CComponent()
virtual CComponent::~CComponent |
( |
| ) |
|
|
virtualdefault |
◆ Init()
virtual void CComponent::Init |
( |
| ) |
|
|
inlinevirtual |
◆ Update()
virtual void CComponent::Update |
( |
| ) |
|
|
inlinevirtual |
◆ UpdateCurrentTarget()
virtual void CComponent::UpdateCurrentTarget |
( |
TargetProfile * |
target | ) |
|
|
inlinevirtual |
If Update loop enabled, this function will be executed every frame for each target.
- Parameters
-
target | Target profile updated for this frame. |
Reimplemented in CEsp.
◆ g_pXenon
std::shared_ptr<Xenon> CComponent::g_pXenon |
◆ g_pXenonConfigs
std::shared_ptr<XenonConfig> CComponent::g_pXenonConfigs |
◆ g_pXenonVariables
The documentation for this class was generated from the following file:
- xenon/includes/xenon/components/component.hpp