![]() |
No Name Engine
NoNameEngine est un moteur de jeu basé sur un système Entity Component System (ECS) utilisant Vulkan pour le rendu.
|


Public Member Functions | |
| AComponent () | |
| Constructeur de base du composant. | |
| virtual void | Awake () |
| Appelé lorsque le composant est initialisé. | |
| virtual void | Start () |
| Appelé au démarrage du composant. | |
| virtual void | Update (float deltaTime) |
| Met à jour le composant chaque frame. | |
| virtual void | LateUpdate (float deltaTime) |
| Effectue les mises à jour après l'Update principal. | |
| int | GetID () const |
| Retourne l'identifiant du composant. | |
| NNE::AEntity * | GetEntity () |
| Obtient l'entité propriétaire. | |
| void | SetEntity (NNE::AEntity *entity) |
| Associe le composant à une entité. | |
Protected Attributes | |
| int | _id |
| NNE::AEntity * | _entity |
Definition at line 6 of file AComponent.h.
| NNE::Component::AComponent::AComponent | ( | ) |
Constructeur de base du composant.
Definition at line 13 of file AComponent.cpp.
|
virtual |
Appelé lorsque le composant est initialisé.
Appelé lors de l'initialisation du composant.
Reimplemented in NNE::Component::MonoComponent, NNE::Component::Physics::BoxColliderComponent, NNE::Component::Physics::PlaneCollider, NNE::Component::Physics::RigidbodyComponent, and NNE::Component::Physics::SphereCollider.
Definition at line 20 of file AComponent.cpp.
| NNE::AEntity * NNE::Component::AComponent::GetEntity | ( | ) |
Obtient l'entité propriétaire.
Retourne l'entité attachée à ce composant.
Definition at line 63 of file AComponent.cpp.
| int NNE::Component::AComponent::GetID | ( | ) | const |
Retourne l'identifiant du composant.
Renvoie l'identifiant du composant.
Definition at line 56 of file AComponent.cpp.
|
virtual |
Effectue les mises à jour après l'Update principal.
Réalise les mises à jour postérieures à l'Update principal.
Reimplemented in NNE::Component::MonoComponent.
Definition at line 47 of file AComponent.cpp.
| void NNE::Component::AComponent::SetEntity | ( | NNE::AEntity * | entity | ) |
Associe le composant à une entité.
Définit l'entité propriétaire du composant.
Definition at line 73 of file AComponent.cpp.
|
virtual |
Appelé au démarrage du composant.
Reimplemented in NNE::Component::MonoComponent.
Definition at line 29 of file AComponent.cpp.
|
virtual |
Met à jour le composant chaque frame.
Reimplemented in NNE::Component::MonoComponent, NNE::Component::Physics::RigidbodyComponent, NNE::Component::Render::CameraComponent, NNE::Component::Render::LightComponent, and NNE::Component::TransformComponent.
Definition at line 38 of file AComponent.cpp.
|
protected |
Definition at line 10 of file AComponent.h.
|
protected |
Definition at line 9 of file AComponent.h.