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 = nullptr |
|
inlinestatic |
◆ g_pXenonConfigs
| std::shared_ptr<XenonConfig> CComponent::g_pXenonConfigs = nullptr |
|
inlinestatic |
◆ g_pXenonVariables
| std::shared_ptr<XenonVariables> CComponent::g_pXenonVariables = nullptr |
|
inlinestatic |
The documentation for this class was generated from the following file:
- xenon/includes/xenon/components/component.hpp