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