![]() |
Skylicht Engine
|
This is an abstract class that describes a component that is called to update continuously. You can add multiple components to a GameObject to handle its updates. More...
#include <Components/CComponentSystem.h>
Public Member Functions | |
| const char * | getName () |
| virtual void | reset () |
| virtual void | initComponent ()=0 |
| virtual void | startComponent () |
| virtual void | updateComponent ()=0 |
| virtual void | endUpdate () |
| virtual void | onEnable (bool b) |
| virtual void | onUpdateCullingLayer (u32 mask) |
| virtual CObjectSerializable * | createSerializable () |
| virtual void | loadSerializable (CObjectSerializable *object) |
| void | setEnable (bool b) |
| bool | isEnable () |
| CGameObject * | getGameObject () |
| void | setEnableSerializable (bool b) |
| bool | isSerializable () |
| void | addLinkComponent (CComponentSystem *comp) |
| void | removeAllLink () |
| Public Member Functions inherited from Skylicht::IActivatorObject | |
| virtual | ~IActivatorObject () |
| Virtual destructor for polymorphic activator objects. | |
Static Public Member Functions | |
| static int | useComponent (CComponentSystem *used) |
Protected Member Functions | |
| void | setOwner (CGameObject *obj) |
Protected Attributes | |
| CGameObject * | m_gameObject |
| bool | m_enable |
| bool | m_serializable |
| std::vector< CComponentSystem * > | m_linkComponent |
Friends | |
| class | CGameObject |
| class | CDependentComponent |
This is an abstract class that describes a component that is called to update continuously. You can add multiple components to a GameObject to handle its updates.
|
virtual |
Reimplemented in Skylicht::Particle::CParticleComponent, and Skylicht::Particle::CParticleTrailComponent.
|
virtual |
Reimplemented in Skylicht::CCamera, and Skylicht::CFpsMoveCamera.
|
pure virtual |
|
virtual |
Reimplemented in Skylicht::Particle::CParticleComponent, and Skylicht::Particle::CParticleTrailComponent.
|
virtual |
Reimplemented in Skylicht::Physics::CCharacterController.
|
virtual |
Reimplemented in Skylicht::Particle::CParticleComponent.
|
pure virtual |