VEGO-Engine  0.1
Loading...
Searching...
No Matches
PowerupComponent.h
1#pragma once
2
3#include <functional>
4#include "Component.h"
5
7{
8public:
9 PowerupComponent(std::function<void (Entity*)> func);
11
12 void update() override;
13
14private:
15 std::function<void (Entity*)> pickupFunc;
16};
Definition Component.h:6
Main class for any object in game, stores associations, labeling and components.
Definition Entity.h:35
Definition PowerupComponent.h:7