|
VEGO-Engine
0.1
|
Public Member Functions | |
| PickupComponent (std::function< void(Entity *)> func) | |
| Construct a new Powerup Component object. | |
| void | update (uint_fast16_t diffTime) override |
Public Member Functions inherited from Component | |
| virtual void | init () |
Additional Inherited Members | |
Public Attributes inherited from Component | |
| Entity * | entity |
| PickupComponent::PickupComponent | ( | std::function< void(Entity *)> | func | ) |
Construct a new Powerup Component object.
| func | The function to be called when the powerup is picked up |
|
overridevirtual |
Reimplemented from Component.