#include <CollectibleComponent.hpp>
◆ CollectibleComponent()
CollectibleComponent::CollectibleComponent |
( |
int |
type | ) |
|
◆ ~CollectibleComponent()
CollectibleComponent::~CollectibleComponent |
( |
| ) |
|
◆ GetType()
int CollectibleComponent::GetType |
( |
| ) |
|
◆ Render()
void CollectibleComponent::Render |
( |
SDL_Renderer * |
renderer | ) |
|
|
virtual |
Pure virtual Render Method. Renderer is the game's renderer. Renders the Component if there is a visual component.
Implements Component.
◆ Update()
void CollectibleComponent::Update |
( |
| ) |
|
|
virtual |
Pure virtual Update Method. Performs any updates needed to this component each frame.
Implements Component.
The documentation for this class was generated from the following files: