#pragma once #include #include "Component.h" class PowerupComponent : public Component { public: PowerupComponent(std::function func); ~PowerupComponent() {}; void update(uint_fast16_t diffTime) override; private: std::function pickupFunc; };