#include <GameObject.hpp>
◆ GameObject()
GameObject::GameObject |
( |
| ) |
|
◆ ~GameObject()
GameObject::~GameObject |
( |
| ) |
|
◆ AddComponent()
void GameObject::AddComponent |
( |
Component * |
c | ) |
|
Adds a component to this game object
◆ Input()
void GameObject::Input |
( |
SDL_Event |
e | ) |
|
Gives inputs to any components of this game object that require input
◆ RemoveComponent()
void GameObject::RemoveComponent |
( |
| ) |
|
Removes a component from this game object
◆ Render()
void GameObject::Render |
( |
SDL_Renderer * |
renderer | ) |
|
Renders any components of this game object that requires rendering
◆ Update()
void GameObject::Update |
( |
| ) |
|
Updates any components of this gaem object that require updating
◆ m_components
std::vector<Component*> GameObject::m_components |
The documentation for this class was generated from the following files: