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