Game Engine 2D Platformer
|
PhysicsComponent class used manage a GameEntity's movement. More...
#include <AIPhysicsComponent.hpp>
Public Member Functions | |
AIPhysicsComponent () | |
Constuctor for PhysicsComponent. More... | |
~AIPhysicsComponent () | |
Destructor for PhysicsComponent. More... | |
void | StartUp () |
Initialize attributes for PhysicsComponent. More... | |
void | ShutDown () |
Destroy attributes for PhysicsComponent. More... | |
void | Update (GameEntity &entity) |
Updates the attributes for PhysicsComponent. More... | |
Public Member Functions inherited from Component | |
Component ()=default | |
Constuctor for Component class. More... | |
virtual void | Render (GameEntity &entity) |
To render objects for children classes. More... | |
virtual void | LoadImage (std::string filepath, SDL_Renderer *ren) |
To initalize loadImages for children classes. More... | |
virtual void | HandleEvent (GameEntity &entity) |
Handle the events of GameEntity object for children classes. More... | |
PhysicsComponent class used manage a GameEntity's movement.
AIPhysicsComponent::AIPhysicsComponent | ( | ) |
Constuctor for PhysicsComponent.
AIPhysicsComponent::~AIPhysicsComponent | ( | ) |
Destructor for PhysicsComponent.
|
virtual |
Destroy attributes for PhysicsComponent.
Reimplemented from Component.
|
virtual |
Initialize attributes for PhysicsComponent.
Reimplemented from Component.
|
virtual |
Updates the attributes for PhysicsComponent.
entity | GameEntity Object |
Implements Component.