VEGO-Engine  0.1
Loading...
Searching...
No Matches
PowerupComponent.h
1#pragma once
2
3#include "Component.h"
4#include "AssetManager.h"
5
7{
8public:
9 PowerupComponent(PowerupType type);
11
12 void update() override;
13 void heartEffect(Entity* player);
14 void movementSpeedEffect(Entity* player);
15 void atkSpeedEffect(Entity* player);
16
17private:
18 void (PowerupComponent::*pickupFunc)(Entity* player);
19};
Definition Component.h:6
Main class for any object in game, stores associations, labeling and components.
Definition Entity.h:29
Definition PowerupComponent.h:7