Game Engine 2D Platformer
AIComponent.hpp
Go to the documentation of this file.
1 /*
2  * @file AIComponent.hpp
3  * @brief AIComponent class interface
4  * @date 2021-03-12
5  ***********************************************/
6 #ifndef AICOMPONENT_HPP
7 #define AICOMPONENT_HPP
8 
9 #include "Component.hpp"
10 
13 class AIComponent : public Component
14 {
15 public:
19  AIComponent();
23  ~AIComponent();
27  void StartUp();
31  void ShutDown();
36  void Update(GameEntity &entity);
37 
38 private:
39 };
40 
41 #endif
AIComponent class used to add movement to a NPC game entity.
Definition: AIComponent.hpp:14
~AIComponent()
Destructor of AIComponent.
Definition: AIComponent.cpp:12
void StartUp()
StartUp function to initialize values of AIComponent.
Definition: AIComponent.cpp:16
void ShutDown()
Function to safely destroy and shut attributes of AIComponent.
Definition: AIComponent.cpp:20
AIComponent()
Constructor of AIComponent.
Definition: AIComponent.cpp:8
void Update(GameEntity &entity)
Update function of AIComponent.
Definition: AIComponent.cpp:27
The interface class for different components to inherit.
Definition: Component.hpp:16
Represents an interactable entity in the game that includes Main Character, NPC, Tiles ,...
Definition: GameEntity.hpp:22